Fixed #14131 -- Added note to docs about Pagination and large Querysets

This commit is contained in:
Daniel Jilg 2016-04-02 15:44:22 +02:00 committed by Erik Romijn
parent d81d02d449
commit 55c843f2ef
2 changed files with 6 additions and 0 deletions

View File

@ -174,6 +174,7 @@ answer newbie questions, and generally made Django that much better:
Daniele Procida <daniele@vurt.org> Daniele Procida <daniele@vurt.org>
Daniel Greenfeld Daniel Greenfeld
dAniel hAhler dAniel hAhler
Daniel Jilg <daniel@breakthesystem.org>
Daniel Lindsley <daniel@toastdriven.com> Daniel Lindsley <daniel@toastdriven.com>
Daniel Poelzleithner <http://poelzi.org/> Daniel Poelzleithner <http://poelzi.org/>
Daniel Pyrathon <pirosb3@gmail.com> Daniel Pyrathon <pirosb3@gmail.com>

View File

@ -146,6 +146,11 @@ Required arguments
clause or with a default :attr:`~django.db.models.Options.ordering` on the clause or with a default :attr:`~django.db.models.Options.ordering` on the
model. model.
.. note::
If you are using a ``QuerySet`` with a very large number of items,
requesting high page numbers might be slow on some database backends.
``per_page`` ``per_page``
The maximum number of items to include on a page, not including orphans The maximum number of items to include on a page, not including orphans
(see the ``orphans`` optional argument below). (see the ``orphans`` optional argument below).