diff options
Diffstat (limited to 'docs/generic_views.txt')
| -rw-r--r-- | docs/generic_views.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/generic_views.txt b/docs/generic_views.txt index a00a49d8be..87b82f7adf 100644 --- a/docs/generic_views.txt +++ b/docs/generic_views.txt @@ -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). @@ -775,7 +778,7 @@ If the results are paginated, the context will contain these extra variables: page. * **New in Django development version:** ``page_range``: A list of the - page numbers that are available. This is 1-based. + page numbers that are available. This is 1-based. Notes on pagination ~~~~~~~~~~~~~~~~~~~ |
