Skip to content
django pagination as you want it to be
Python HTML
Branch: master
Clone or download
Latest commit 8cb68b2 Dec 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs updated the version Dec 11, 2018
sandbox updated the version Dec 11, 2018
simple_pagination tested with versions from 1.8 to 1.11 Jun 15, 2017
.gitignore documentation almost finished Oct 13, 2015
.travis.yml test cases added May 25, 2016
LICENSE Initial commit Aug 20, 2015
MANIFEST.in changed the templates directory name Aug 21, 2015
README.rst Update README.rst Apr 9, 2018
setup.py updated the version Dec 11, 2018
test_runner.py template variable added May 25, 2016

README.rst

https://travis-ci.org/MicroPyramid/django-simple-pagination.svg?branch=master Latest Release https://coveralls.io/repos/github/MicroPyramid/django-simple-pagination/badge.svg?branch=master Code Health

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

  1. Install 'Django-Simple-Pagination' using the following command:

    pip install django-simple-pagination
    
  2. Add simple_pagination to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'simple_pagination',
    ]
    
  3. In templates use {% load paginate %} to load all pagination template tags

  4. 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

  5. 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

Visit our Django web development page Here

You can’t perform that action at this time.