Package telemeta :: Package templatetags :: Module paginator
[hide private]
[frames] | no frames]

Module paginator

source code

Functions [hide private]
 
paginator(context, adjacent_pages=2)
To be used in conjunction with the object_list generic view.
source code
Variables [hide private]
  register = template.Library()
Function Details [hide private]

paginator(context, adjacent_pages=2)

source code 

To be used in conjunction with the object_list generic view.

Adds pagination context variables for use in displaying first, adjacent and last page links in addition to those created by the object_list generic view.

Thanks to tummy.com, ltd. http://www.tummy.com/Community/Articles/django-pagination/