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 hashes)

Uploaded Source

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