mirror of https://github.com/django/django.git
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:
parent
7b89abaf48
commit
7d1c147bb4
|
@ -701,8 +701,8 @@ A page representing a list of objects.
|
||||||
query string parameter (via ``GET``) or a ``page`` variable specified in
|
query string parameter (via ``GET``) or a ``page`` variable specified in
|
||||||
the URLconf. See `Notes on pagination`_ below.
|
the URLconf. See `Notes on pagination`_ below.
|
||||||
|
|
||||||
* ``page``: The current page number, as an integer. This is 1-based.
|
* ``page``: The current (1-based) page number, as an integer, or the string
|
||||||
See `Notes on pagination`_ below.
|
``'last'``. See `Notes on pagination`_ below.
|
||||||
|
|
||||||
* ``template_name``: The full name of a template to use in rendering the
|
* ``template_name``: The full name of a template to use in rendering the
|
||||||
page. This lets you override the default template name (see below).
|
page. This lets you override the default template name (see below).
|
||||||
|
|
Loading…
Reference in New Issue