Ticket #2603: generic_views.txt.diff

File generic_views.txt.diff, 1.0 KB (added by nickefford, 8 years ago)
  • docs/generic_views.txt

     
    775775      page.
    776776
    777777    * **New in Django development version:** ``page_range``: A list of the
    778     page numbers that are available. This is 1-based.
     778      page numbers that are available. This is 1-based.
    779779
    780780Notes on pagination
    781781~~~~~~~~~~~~~~~~~~~
     
    797797      variable. You can iterate over the list provided by ``page_range``
    798798      to create a link to every page of results.
    799799
    800 These values and lists are is 1-based, not 0-based, so the first page would be
     800These values and lists are 1-based, not 0-based, so the first page would be
    801801represented as page ``1``.
    802802
     803For more information on how pagination works, consult the documentation
     804on `object pagination`_.
     805
     806.. _`object pagination`: ../models/pagination/
     807
    803808**New in Django development version:**
    804809
    805810As a special case, you are also permitted to use
Back to Top