summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Vakilzade <ali@vakilzade.ir>2015-07-18 15:05:49 +0430
committerTim Graham <timograham@gmail.com>2015-07-20 08:08:32 -0400
commit50ca15127696ab98c237b953960dc2c0a83c9984 (patch)
treec9630e1847720e77e01f10c51179b449b457c9d4
parenteba3ec90ea0206cbe0ddf59b99b5a2efbad3d2f1 (diff)
downloaddjango-50ca15127696ab98c237b953960dc2c0a83c9984.tar.gz
[1.7.x] Fixed signature of ModelAdmin.get_paginator() in docs.
Backport of ecf4ed246ae192f8d381b799b921a892fd7afa85 from master
-rw-r--r--docs/ref/contrib/admin/index.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 68efb0d185..4e8b6d0125 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -1694,7 +1694,7 @@ templates used by the :class:`ModelAdmin` views:
documentation for more details. One difference is that the level may be
passed as a string label in addition to integer/constant.
-.. method:: ModelAdmin.get_paginator(queryset, per_page, orphans=0, allow_empty_first_page=True)
+.. method:: ModelAdmin.get_paginator(request, queryset, per_page, orphans=0, allow_empty_first_page=True)
Returns an instance of the paginator to use for this view. By default,
instantiates an instance of :attr:`paginator`.