Skip to main content

An efficient paginator that works.

Project description

A simple and efficient paginator.

Jinja2

Jinja2 is supported via Coffin:

{% with paginate(request, my_queryset) as results %}
  {{ results.paging }}
  {% for result in results.objects %}
    {{ result }}
  {% endfor %}
  {{ results.paging }}
{% endwith %}

Django

Django templatetags require django-templatetag-sugar:

{% load paging_extras %}

{% paginate my_queryset from request as results %}
{{ results.paging }}
{% for result in results.objects %}
  {{ result }}
{% endfor %}
{{ results.paging }}

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-paging-0.2.5.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file django-paging-0.2.5.tar.gz.

File metadata

File hashes

Hashes for django-paging-0.2.5.tar.gz
Algorithm Hash digest
SHA256 b35d31b9632766bd1f4747109e38352938df35c5a639d62cae818be543fef2bb
MD5 282ef984815f73ce43189d288b2bae2a
BLAKE2b-256 73b60165172d65329600c135999733e205fb42678f27062808ea3e9ec015629e

See more details on using hashes here.

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