Django Simple Pagination is a simple Django app to for digg-style pagination with little effort.
Documentation is avaliable online, or in the docs directory of the project.
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
{% load paginate %}
to load all pagination template tagsIn templates use
{% paginate no_of_records entities %}
to get pagination objects.Here no_of_records means no of objects to display in a page and entities means the list of objects
In templates use
{% show_pageitems %}
to get digg-style page links.
We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us here
Visit our Django web development page Here