summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-10-18 15:53:31 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-10-18 15:53:31 +0000
commit4cd18ee32d39c5e9896e528f5ef87a9c92a694c2 (patch)
tree7f43f453ec04ee930c82576ddfb093ba253f0ecf /docs/ref
parent2a9551a415f7a83e090730898ee0f2c647e08530 (diff)
Improvements to examples and markup fixes for class-based view docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/class-based-views.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/ref/class-based-views.txt b/docs/ref/class-based-views.txt
index 4f800e1fd9..27c8ed6f23 100644
--- a/docs/ref/class-based-views.txt
+++ b/docs/ref/class-based-views.txt
@@ -313,9 +313,8 @@ Note that ``page`` *must* be either a valid page number or the value
.. method:: MultipleObjectMixin.paginate_queryset(queryset, page_size)
- Returns a 4-tuple containing::
-
- (``paginator``, ``page``, ``object_list``, ``is_paginated``)
+ Returns a 4-tuple containing (``paginator``, ``page``,
+ ``object_list``, ``is_paginated``).
constructed by paginating ``queryset`` into pages of size ``page_size``.
If the request contains a ``page`` argument, either as a captured
@@ -819,9 +818,8 @@ for which data is available.
.. method:: ArchiveView.get_dated_items():
- Returns a 3-tuple containing::
-
- (date_list, latest, extra_context)
+ Returns a 3-tuple containing (``date_list``, ``latest``,
+ ``extra_context``).
``date_list`` is the list of dates for which data is available.
``object_list`` is the list of objects ``extra_context`` is a