X-Git-Url: https://git.mdrn.pl/django-pagination.git/blobdiff_plain/79b65b1914b1db437200f57df24f76653d0451cc..2a176f07ce571b5192a1feb1f13da860b2292452:/linaro_django_pagination/test_project/example/templates/example/list.html diff --git a/linaro_django_pagination/test_project/example/templates/example/list.html b/linaro_django_pagination/test_project/example/templates/example/list.html new file mode 100644 index 0000000..d81a42c --- /dev/null +++ b/linaro_django_pagination/test_project/example/templates/example/list.html @@ -0,0 +1,13 @@ +{% 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 %}