Fixed signature of ModelAdmin.get_paginator() in docs.
This commit is contained in:
parent
19fcf083d3
commit
ecf4ed246a
|
@ -1746,7 +1746,7 @@ templates used by the :class:`ModelAdmin` views:
|
||||||
documentation for more details. One difference is that the level may be
|
documentation for more details. One difference is that the level may be
|
||||||
passed as a string label in addition to integer/constant.
|
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,
|
Returns an instance of the paginator to use for this view. By default,
|
||||||
instantiates an instance of :attr:`paginator`.
|
instantiates an instance of :attr:`paginator`.
|
||||||
|
|
Loading…
Reference in New Issue