summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jilg <winsmith@winsmith.de>2016-04-02 15:44:22 +0200
committerErik Romijn <eromijn@solidlinks.nl>2016-04-02 16:03:34 +0200
commit55c843f2ef702b4ebcd024920d4193bdf4c3fe07 (patch)
tree16c02acdbcaae555909c5e3054bb316c21c6a626
parentd81d02d449edd046a94de5f171f4ae87fa331c7d (diff)
Fixed #14131 -- Added note to docs about Pagination and large Querysets
-rw-r--r--AUTHORS1
-rw-r--r--docs/topics/pagination.txt5
2 files changed, 6 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index d7422a0767..f6bd9191db 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -174,6 +174,7 @@ answer newbie questions, and generally made Django that much better:
Daniele Procida <daniele@vurt.org>
Daniel Greenfeld
dAniel hAhler
+ Daniel Jilg <daniel@breakthesystem.org>
Daniel Lindsley <daniel@toastdriven.com>
Daniel Poelzleithner <http://poelzi.org/>
Daniel Pyrathon <pirosb3@gmail.com>
diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt
index a45b8fabd6..9baa1879e1 100644
--- a/docs/topics/pagination.txt
+++ b/docs/topics/pagination.txt
@@ -146,6 +146,11 @@ Required arguments
clause or with a default :attr:`~django.db.models.Options.ordering` on the
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``
The maximum number of items to include on a page, not including orphans
(see the ``orphans`` optional argument below).