{% load i18n %} {% load pagination_tags %} {% autopaginate document_list 5 %} {% if document_type %}

{% trans "Showing only documents of type:" %} {{ document_type }}

{% endif %} {% if document_list %}
    {% for document in document_list %}
  1. {{ document }}
  2. {% endfor %}
{% else %}

{% trans "No documents found." %}

{% endif %} {% paginate %}