Changes between Version 1 and Version 2 of PaginatorTag


Ignore:
Timestamp:
Jul 7, 2006, 5:12:22 AM (18 years ago)
Author:
Jonathan Buchanan <jonathan.buchanan@…>
Comment:

Fixed docstring typo

Legend:

Unmodified
Added
Removed
Modified
  • PaginatorTag

    v1 v2  
    2626def paginator(context, adjacent_pages=2):
    2727    """Adds pagination context variables for first, adjacent and next page links
    28     in addition to those already populated by the object_detail generic view."""
     28    in addition to those already populated by the object_list generic view."""
    2929    page_numbers = [n for n in \
    3030                    range(context["page"] - adjacent_pages, context["page"] + adjacent_pages + 1) \
Back to Top