浏览代码

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

Daniel Jilg 9 年之前
父节点
当前提交
55c843f2ef
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 1 0
      AUTHORS
  2. 5 0
      docs/topics/pagination.txt

+ 1 - 0
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>

+ 5 - 0
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).