• {% if page_obj.has_previous %} Prev {% else %} Prev {% endif %}
  • {{ page_obj }}
  • {% if page_obj.has_next %} Next {% else %} Next {% endif %}