{% extends "django_tables2/table.html" %} {% load django_tables2 %} {% block table.thead %} {% for column in table.columns %} {% if column.orderable %} {{ column.header }} {% else %} {{ column.header }} {% endif %} {% endfor %} {% block table.head.last.column %} {% endblock %} {% endblock table.thead %} {% block table.tbody.row %} {% for column, cell in row.items %} {% if column.localize == None %}{{ cell }}{% else %}{% if column.localize %}{{ cell|localize }}{% else %}{{ cell|unlocalize }}{% endif %}{% endif %} {% endfor %} {% block table.tbody.last.column %} {% endblock %} {% endblock table.tbody.row %} {% block pagination %} {% with page_obj=table.page page_key=table.prefixed_page_field %} {% include "gadjo/pagination.html" %} {% endwith %} {% endblock %}