{% if page.has_previous %} <Позже {% endif %} Записи {{ page.start_index }}—{{ page.end_index }} из {{ paginator.count }} {% if page.has_next %} Раньше> {% endif %}