Skip to content

Commit

Permalink
[1.7.x] Fixed signature of ModelAdmin.get_paginator() in docs.
Browse files Browse the repository at this point in the history
Backport of ecf4ed2 from master
  • Loading branch information
Ali Vakilzade authored and timgraham committed Jul 20, 2015
1 parent eba3ec9 commit 50ca151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/contrib/admin/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 50ca151

Please sign in to comment.