{% load django_tables2 %} {% load i18n %}
{% with table.page.object_list|length as count %}

Page total: {{ count }}

{% endwith %}
{% else %} {% if table.page.has_previous %} {% block pagination.previous %} {% endblock pagination.previous %} {% endif %} {% for p in table.paginator.page_range %} {% if p == table.page.number %}
  • {{ p }}
  • {% else %}
  • {{ p }}
  • {% endif %} {% endfor %} {% if table.page.has_next %} {% block pagination.next %} {% endblock pagination.next %} {% endif %} {% endif %}