From 4edecaeae95ac02339f51d84dbe0dd414c7c3d61 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sun, 23 Sep 2007 06:18:49 +0000 Subject: [PATCH] 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 --- docs/generic_views.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/generic_views.txt b/docs/generic_views.txt index 87b82f7adf..08ff01c372 100644 --- a/docs/generic_views.txt +++ b/docs/generic_views.txt @@ -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`` 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``. +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:** As a special case, you are also permitted to use