[Fixed]-Django paginator page numbers not working with if

1👍

That should do the trick.

{% for ipage in transactions.paginator.page_range %}
    {% ifequal ipage transactions.number %}
        <!-- Do something special for this page -->
    {% else %}
        <!-- All the other pages -->
    {% endifequal %}
{% endfor %}

Leave a comment