{% extends "base.html" %} {% load static pagination_links colour_tags %} {% block content %}

People


{% if is_paginated %} {% get_pagination_links paginator page_obj as pagination_links %}

{% if page_obj.has_previous %} Back {% else %} Back {% endif %} {% for page_num in pagination_links %} {% if page_num.is_current %} {{ page_num.number }} {% elif page_num.is_filler %} {% else %} {{ page_num.number }} {% endif %} {% endfor %} {% if page_obj.has_next %} {% else %} {% endif %}

{% endif %}
{% endblock content %}