{% load i18n %} {% comment %} Pagination include for page listings. Accepts the following parameters: page - a django.core.pagination Page object base_url - a URL string that we can append ?p=page_number to query_params - any additional query params to include in the link (urlencoded but not html-escaped, and without the joining '&') classnames - additional classnames to put on the element TODO: Port all existing uses of shared/_pagination_nav.html over to this new API (extending the API as necessary to cover special cases), so that this can become a replacement for shared/_pagination_nav.html. {% endcomment %}