<p>First list has {{ first_item_list|length }} items.</p>
{% autopaginate first_item_list 5 %}
{% for item in first_item_list %}
-<p>Item {{item}}</p>
+<p>{{item}}</p>
{% endfor %}
-{% paginate %}
+{% paginate using2 "pagination/custom_pagination.html" %}
<p>Second list has {{ second_item_list|length}} items.</p>
{% autopaginate second_item_list 5 %}
{% paginate %}
{% for item in second_item_list %}
-<p>Item {{item}}</p>
+<p>{{item}}</p>
{% endfor %}
{% endblock %}
--- /dev/null
+{% extends "pagination/pagination.html" %}
+
+
+{% block previouslink %}
+ <p style="color: red; background-color: white;">This part is custom</p>
+ {{ block.super }}
+{% endblock previouslink %}