From 4cd18ee32d39c5e9896e528f5ef87a9c92a694c2 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 18 Oct 2010 15:53:31 +0000 Subject: 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 --- docs/ref/class-based-views.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'docs/ref') 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 -- cgit v1.3