A simple pagination app for Django.
Project description
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.
Quick start
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 tags
In 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.
Questions, Comments, etc?
We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-simple-pagination-1.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b716b93d914a3c33b7979133859f34bfa20fb9f680d4476b543fe599a86d7fd7 |
|
MD5 | 3a3d3ad49d663e0945270fe0bdde6f9e |
|
BLAKE2b-256 | 042b625318c7baebb292a56e23e97ad5bd8a70737b0ea6cd905ddc395bdd1581 |