summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2007-09-14 04:24:58 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2007-09-14 04:24:58 +0000
commite336722fd1c396cf964e987432fbfcb7f4706379 (patch)
treee15fa7dfdfcd2864c2d91a7172a5604b3462c122
parent4d25f8655b90b74235e9f1e5c3ba156a34c3b581 (diff)
Added documentation notes for new feature added in [6149].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/generic_views.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/generic_views.txt b/docs/generic_views.txt
index c574b3c4a3..a00a49d8be 100644
--- a/docs/generic_views.txt
+++ b/docs/generic_views.txt
@@ -774,8 +774,8 @@ If the results are paginated, the context will contain these extra variables:
* ``hits``: The total number of objects across *all* pages, not just this
page.
- * ``page_range``: A list of the page numbers that are available. This
- is 1-based.
+ * **New in Django development version:** ``page_range``: A list of the
+ page numbers that are available. This is 1-based.
Notes on pagination
~~~~~~~~~~~~~~~~~~~
@@ -798,7 +798,11 @@ specify the page number in the URL in one of two ways:
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
-represented as page ``1``. As a special case, you are also permitted to use
+represented as page ``1``.
+
+**New in Django development version:**
+
+As a special case, you are also permitted to use
``last`` as a value for ``page``::
/objects/?page=last