From 7d1c147bb4cb5d0b89b3e5d331d13660b3fe6ea5 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Sun, 27 Jul 2008 22:09:12 +0000 Subject: [PATCH] Fixed #7320 -- For `object_list` generic view, the `page` argument can also be the string "last", thanks Ubercore. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8119 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/generic_views.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/generic_views.txt b/docs/generic_views.txt index 45a31fc875..32e31371b3 100644 --- a/docs/generic_views.txt +++ b/docs/generic_views.txt @@ -701,8 +701,8 @@ A page representing a list of objects. query string parameter (via ``GET``) or a ``page`` variable specified in the URLconf. See `Notes on pagination`_ below. - * ``page``: The current page number, as an integer. This is 1-based. - See `Notes on pagination`_ below. + * ``page``: The current (1-based) page number, as an integer, or the string + ``'last'``. See `Notes on pagination`_ below. * ``template_name``: The full name of a template to use in rendering the page. This lets you override the default template name (see below).