1 {% extends "django_testproject/base.html" %}
2 {% load pagination_tags %}
6 <p>This page demonstrates how autopaginate behaves under certain conditions</p>
7 <p>Below you can see two lists.</p>
8 <p>First list has {{ first_item_list|length }} items.</p>
9 {% autopaginate first_item_list 5 %}
10 {% for item in first_item_list %}
15 <p>Second list has {{ second_item_list|length}} items.</p>
16 {% autopaginate second_item_list 5 %}
18 {% for item in second_item_list %}