[1.8.x] Fixed signature of ModelAdmin.get_paginator() in docs.

Backport of ecf4ed246a from master
This commit is contained in:
Ali Vakilzade 2015-07-18 15:05:49 +04:30 committed by Tim Graham
parent 7355437e49
commit beb68b2a83
1 changed files with 1 additions and 1 deletions

View File

@ -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`.