Sexy pagination in Django
Python
Latest commit 31cf423 May 6, 2013 @dcramer 0.2.5
Failed to load latest commit information.
debian Use correct bugs url Dec 14, 2010
paging
.gitignore Update test suite requirements to unittest2/django Mar 25, 2011
LICENSE Added LICENSE Nov 2, 2010
MANIFEST.in
README.rst
setup.py 0.2.5 May 6, 2013

README.rst

About

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 }}