diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-07-27 22:09:12 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-07-27 22:09:12 +0000 |
| commit | 7d1c147bb4cb5d0b89b3e5d331d13660b3fe6ea5 (patch) | |
| tree | 58fcfd58eafd7dcff3230e98095315ff6806f708 /docs | |
| parent | 7b89abaf4883e21a8d80f7c2dca78ec2c84e0973 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/generic_views.txt | 4 |
1 files 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). |
