diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-09-15 21:57:25 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-09-15 21:57:25 +0000 |
| commit | ca33d307dee3cf68cc9cd2ccfae00c7ff23ea890 (patch) | |
| tree | e0f0afa392f4ab50de4a89e2a0b1b4cc53f40794 /docs/generic_views.txt | |
| parent | 7325fbf4ff20f9b0f21d3a1aba1abaca78a765d7 (diff) | |
queryset-refactor: Merged to [6300]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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 ~~~~~~~~~~~~~~~~~~~ |
