{% load helpers %} {% with last_column_name=table.columns.names|last %} {% for row in table.page.object_list|default:table.rows %} {% for column, cell in row.items %} {% endfor %} {% if table.configurable and last_column_name != "actions" %} {% endfor %} {% if table.page.paginator.num_pages > 1 and table.page.number < table.page.paginator.num_pages %} {% if "pk" in table.columns %} {% endif %}
{{ cell }} {% endif %}
{% else %} {% endif %} {% for i in table.context.tree_depth|as_range %} {% endfor %} … and {{ table.context.additional_count }} more
{% endwith %}