Django-Simple-Pagination is a simple Django app to for pagination.
Detailed documentation is in the "docs" directory.
- Install 'Django-Simple-Pagination' using the following command.
- pip install django-simple-pagination
Add "simple_pagination" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'simple_pagination', ]
In templates use {% paginate entities %} to get pagination objects.
In templates use {% show_pages %} for getting the pages details.