Kaydet (Commit) 7d1c147b authored tarafından Gary Wilson Jr's avatar Gary Wilson Jr

Fixed #7320 -- For `object_list` generic view, the `page` argument can also be…

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
üst 7b89abaf
......@@ -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).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment