{ "sEcho": {{ sEcho }}, "iTotalRecords": {{ iTotalRecords }}, "iTotalDisplayRecords": {{ iTotalDisplayRecords }}, "aaData":[ {% for test_plan in querySet %} { "DT_RowId": "plan_{{ test_plan.pk }}", "DT_RowClass": {% if not test_plan.is_active %}"line-through inactive"{% else %}""{% endif %}, "0": "", "1": "{{ test_plan.plan_id }}", "2": "{{ test_plan }} ", "3": "{{ test_plan.author }}", "4": {% if test_plan.owner %}"{{ test_plan.owner }}"{% else %}"No owner"{% endif %}, "5": "{{ test_plan.product }}", "6": "{{ test_plan.type }}", "7": "{{ test_plan.cases_count }}", "8": "{{ test_plan.runs_count }}", "9": {% if perms.testplans.change_testplan %}""{% else %}""{% endif %} } {% if not forloop.last %} , {% endif %} {% endfor %} ] }