Permalink
Browse files

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
  • Loading branch information...
1 parent 09060e9 commit ff25059ffb751bb50e363ef53f79a1e4382705bc @freakboy3742 freakboy3742 committed Sep 15, 2007
Showing with 4 additions and 1 deletion.
  1. +4 −1 docs/generic_views.txt
View
@@ -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).

0 comments on commit ff25059

Please sign in to comment.