Skip to main content

A simple pagination app for Django.

Project description

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 https://img.shields.io/github/license/micropyramid/django-simple-pagination.svg

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-simple-pagination-1.3.tar.gz (10.0 kB view details)

Uploaded Source

File details

Details for the file django-simple-pagination-1.3.tar.gz.

File metadata

File hashes

Hashes for django-simple-pagination-1.3.tar.gz
Algorithm Hash digest
SHA256 a12ff1f159c9481030b29dbb996eda44c2a7338c317043feea5b28df122e7c6f
MD5 eea787562655ac75c7226f447e5bfa32
BLAKE2b-256 440138c0759d4af71220b7eb4973cc8ecc70af4591751e4f5d1d754f45cb80a1

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page