{% load pagination %} {% if page_obj.has_other_pages %}
{% if page_obj.has_previous %} ‹ Previous {% endif %} Page {{page_obj.number}} of {{paginator.num_pages}} {% if page_obj.has_next %} Next › {% endif %}