{% block paginator %} {% if page_obj %} {% if page_obj.has_previous %} {% endif %} Showing {{ page_obj.start_index }} to {{ page_obj.end_index }} of {{ paginator.count }}. {% if page_obj.has_next %} {% endif %} {% else %} {% endif %} {% endblock %}