summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-07 14:15:06 -0500
committerTim Graham <timograham@gmail.com>2017-02-07 14:15:31 -0500
commit035c3a71dd817ddc749f69fa517189f94aa7da4d (patch)
treef64af05d51623d91d336f689016d98c720234dbe /docs
parentf94e1a5de4c379575e3d9cf54f0a70671acba72b (diff)
[1.11.x] Fixed #27814 -- Removed an inaccurate sentence about Paginator.orphans.
Backport of 27793431cf21a82809c0c39a7c0188a2d83bf475 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/pagination.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt
index d2737fd522..0f436e6353 100644
--- a/docs/topics/pagination.txt
+++ b/docs/topics/pagination.txt
@@ -161,14 +161,14 @@ Optional arguments
------------------
``orphans``
- The minimum number of items allowed on the last page, defaults to zero.
Use this when you don't want to have a last page with very few items.
If the last page would normally have a number of items less than or equal
to ``orphans``, then those items will be added to the previous page (which
becomes the last page) instead of leaving the items on a page by
themselves. For example, with 23 items, ``per_page=10``, and
``orphans=3``, there will be two pages; the first page with 10 items and
- the second (and last) page with 13 items.
+ the second (and last) page with 13 items. ``orphans`` defaults to zero,
+ which means pages are never combined and the last page may have one item.
``allow_empty_first_page``
Whether or not the first page is allowed to be empty. If ``False`` and