From beb68b2a83f9dd163303476da9ddc8c9938be117 Mon Sep 17 00:00:00 2001 From: Ali Vakilzade Date: Sat, 18 Jul 2015 15:05:49 +0430 Subject: [PATCH] [1.8.x] Fixed signature of ModelAdmin.get_paginator() in docs. Backport of ecf4ed246ae192f8d381b799b921a892fd7afa85 from master --- docs/ref/contrib/admin/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 2e35ee6020..37156bb18b 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1734,7 +1734,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`.