summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorChris Beaven <smileychris@gmail.com>2010-12-09 02:34:14 +0000
committerChris Beaven <smileychris@gmail.com>2010-12-09 02:34:14 +0000
commitff8711a825ea9bbe98e873d7aa28ce5135528fec (patch)
treef79d3b5709879ab83f0cfa459dd53f611872dc09 /docs/ref
parentb37d867929f41a81feb0954023471d7c50081e41 (diff)
Fixes #14873 -- A paginated ListView with a List instead of queryset produces an error.
Additional minor change in functionality: the page is now not considered paginated if the objects do not span multiple pages according to the paginator. This will only affect views with a custom paginator method which uses orphans. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/class-based-views.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/class-based-views.txt b/docs/ref/class-based-views.txt
index 150ffff2e1..4b51469ced 100644
--- a/docs/ref/class-based-views.txt
+++ b/docs/ref/class-based-views.txt
@@ -344,22 +344,22 @@ MultipleObjectMixin
**Context**
- * ``object_list``: The list of object that this view is displaying. If
+ * ``object_list``: The list of objects that this view is displaying. If
``context_object_name`` is specified, that variable will also be set
in the context, with the same value as ``object_list``.
* ``is_paginated``: A boolean representing whether the results are
paginated. Specifically, this is set to ``False`` if no page size has
- been specified, or if the number of available objects is less than or
- equal to ``paginate_by``.
+ been specified, or if the available objects do not span multiple
+ pages.
* ``paginator``: An instance of
:class:`django.core.paginator.Paginator`. If the page is not
- paginated, this context variable will be ``None``
+ paginated, this context variable will be ``None``.
* ``page_obj``: An instance of
:class:`django.core.paginator.Page`. If the page is not paginated,
- this context variable will be ``None``
+ this context variable will be ``None``.
MultipleObjectTemplateResponseMixin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~