mirror of https://github.com/django/django.git
Fixed #5357 -- Added documentation on the 'page' argument to generic object_list views. Thanks, mitja.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
09060e9bc8
commit
ff25059ffb
|
@ -699,7 +699,10 @@ A page representing a list of objects.
|
|||
displayed per page. If this is given, the view will paginate objects with
|
||||
``paginate_by`` objects per page. The view will expect either a ``page``
|
||||
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.
|
||||
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).
|
||||
|
|
Loading…
Reference in New Issue