{% if page_obj.has_other_pages %}
Showing {{ page_obj.number }} of {{ page_obj.paginator.num_pages }} Pages
{% if page_obj.has_previous %} {% endif %}
{% for i in page_obj.paginator.page_range %} {% if page_obj.number == i %} {{ i }} {% else %} {{ i }} {% endif %} {% endfor %}
{% if page_obj.has_next %} {% endif %}
{% endif %}