{% load django_tables2 %} {% if table.show_header %} {% for column in table.columns %} {% if column.orderable %} {% else %} {% endif %} {% endfor %} {% endif %} {% load helpers %} {% for row in table.page.object_list|default:table.rows %} {% ifchanged row.record.grouping %} {% endifchanged %} {% for column, cell in row.items %} {% endfor %} {% empty %} {% if table.empty_text %} {% endif %} {% endfor %} {% if table.has_footer %} {% for column in table.columns %} {% endfor %} {% endif %}
{{ column.header }}{{ column.header }}
{{ cell }}
— {{ table.empty_text }} —
{{ column.footer }}