[Answered ]-Django endless pagination 2 settings

2👍

If you look at the settings.py module for the django-endless-pagination, you’ll see that it specifically mentions that you can override the value in the templatetag:

# How many objects are normally displayed in a page
# (overwriteable by templatetag).
PER_PAGE = getattr(settings, 'ENDLESS_PAGINATION_PER_PAGE', 10)

Looking at the documentation for the template tag, it’s easy to specify how many objects you want to display:

{% paginate 20 entries %}

Leave a comment