{% if page_obj.has_previous %}
  • «
  • {% endif %}
  • {{ page_obj.number }}
  • {% if page_obj.has_next %}
  • »
  • {% endif %}