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
This commit is contained in:
Gary Wilson Jr 2008-07-27 22:09:12 +00:00
parent 7b89abaf48
commit 7d1c147bb4
1 changed files with 2 additions and 2 deletions

View File

@ -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).