{% extends "django_tables2/table.html" %} {% load django_tables2 %} {% load i18n core_tags %} {% if table.page %} {% with table.page.paginator.count as total %} {% with table.page.object_list|length as count %} {% block pagination %} {% pagination table.paginator.num_pages table.page.has_previous table.page.has_next table.page.number %} {% endblock pagination %} {% endwith %} {% endwith %} {% endif %}