{% load i18n %} {% comment %} Pagination template snippet that can be included in templates. To be used with django-pure-pagination package that expands django's base pagination to provide page ranges feature. This feature only returns a limited number of pages in the page list when the number of pages is enumerated. This number can be set as a configuration (and set from settings.py). Relies on bootstrap for styling. So it's expected to be included. For more details refer to pure-pagination documentation. {% endcomment %} {% if page_obj.pages|length > 1 %}
{%endif%}