Fixed #2603 -- Fixed a typo and added a helpful example reference to the generic view pagination docs. Thanks, Nick Efford.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4d30be23dc
commit
4edecaeae9
|
@ -800,9 +800,14 @@ specify the page number in the URL in one of two ways:
|
||||||
variable. You can iterate over the list provided by ``page_range``
|
variable. You can iterate over the list provided by ``page_range``
|
||||||
to create a link to every page of results.
|
to create a link to every page of results.
|
||||||
|
|
||||||
These values and lists are is 1-based, not 0-based, so the first page would be
|
These values and lists are 1-based, not 0-based, so the first page would be
|
||||||
represented as page ``1``.
|
represented as page ``1``.
|
||||||
|
|
||||||
|
An example of the use of pagination can be found in the `object pagination`_
|
||||||
|
example model.
|
||||||
|
|
||||||
|
.. _`object pagination`: ../models/pagination/
|
||||||
|
|
||||||
**New in Django development version:**
|
**New in Django development version:**
|
||||||
|
|
||||||
As a special case, you are also permitted to use
|
As a special case, you are also permitted to use
|
||||||
|
|
Loading…
Reference in New Issue