Skip to main content

Some missing paginators for Django

Project description

A library collecting various paginators and pagination tools for Django.

Not locked to a Django version, the code was first designed for Django < 1.0 and Python < 2.7. It no longer supports Python 2.

Import what you need or add it as an app to use the template tag.

paginators.Paginator

A thin shim around django.core.paginator.Paginator adding some helpful methods.

paginators.Page

Used by paginators.Paginator, a thin shim around django.core.paginator.Page adding some helpful methods.

paginators.namepaginator.NamePaginator

The first paginator paging on strings instead of numbers.

paginators.namepaginator.NamePage

The page-object used by paginators.namepaginator.NamePaginator.

paginators.stringpaginator.SingleLetterPaginator

Page on a single letter instead of a number: for for instance dictionaries.

paginators.stringpaginator.CombinedLetterPaginator

Combine several letters into a single page: for for instance dictionaries.

paginators.stringpaginator.LetterPage

Used by paginators.stringpaginator.SingleLetterPaginator and paginators.stringpaginator.CombinedLetterPaginator.

The equivalent of django.core.paginator.Page but for letters.

paginators.templates

The default template used by the template tag.

paginators.templatetags.paginator.paginator

A template tag falling back to using the template in paginators.templates that prettily renders a paginator block.

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

paginators-1.0.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paginators-1.0.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file paginators-1.0.0.tar.gz.

File metadata

  • Download URL: paginators-1.0.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for paginators-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2d2d8b82bf8372c3d9ec9ebb48bffc356d34f2a180befb9edfc1a8f1cd99a2bb
MD5 c5a342aeadc284a5340449ad3c85f496
BLAKE2b-256 55a94d7f198604e2818fbb517e06c67795f3da35e647a39a944500975889da27

See more details on using hashes here.

File details

Details for the file paginators-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: paginators-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for paginators-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 499c67e00d117015b53f46fe0d727370f8421bc515d127979b717d2ac2272195
MD5 4af35c0f142b18ff19280158a47d6232
BLAKE2b-256 72bf6f3b3738b08218f613e7c21cea101570eb7b01eb39da2ecc5082ffe0ec07

See more details on using hashes here.

Supported by

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