{% extends "django_testproject/base.html" %} {% load pagination_tags %} {% block content %}
This page demonstrates how autopaginate behaves under certain conditions
Below you can see a list of {{ item_list|length }} items.
{% autopaginate item_list %} {% for item in item_list %}Item {{item}}
{% endfor %} {% paginate %} {% endblock %}