In order to use forloop.counter with pagination use:

{% for object in object_list %}

{{ page_obj.start_index|add:forloop.counter0 }}

{% endfor %}


Comments

comments powered by Disqus