From 55c843f2ef702b4ebcd024920d4193bdf4c3fe07 Mon Sep 17 00:00:00 2001 From: Daniel Jilg Date: Sat, 2 Apr 2016 15:44:22 +0200 Subject: [PATCH] Fixed #14131 -- Added note to docs about Pagination and large Querysets --- AUTHORS | 1 + docs/topics/pagination.txt | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/AUTHORS b/AUTHORS index d7422a07676..f6bd9191db6 100644 --- a/AUTHORS +++ b/AUTHORS @@ -174,6 +174,7 @@ answer newbie questions, and generally made Django that much better: Daniele Procida Daniel Greenfeld dAniel hAhler + Daniel Jilg Daniel Lindsley Daniel Poelzleithner Daniel Pyrathon diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt index a45b8fabd60..9baa1879e14 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).