diff options
| author | Ali Vakilzade <ali@vakilzade.ir> | 2015-07-18 15:05:49 +0430 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-07-20 08:07:31 -0400 |
| commit | ecf4ed246ae192f8d381b799b921a892fd7afa85 (patch) | |
| tree | 704ada8ec01fa23080aed5e05c26d23160d5580f /docs | |
| parent | 19fcf083d364d734a52ccab0ad51143445be7b7b (diff) | |
Fixed signature of ModelAdmin.get_paginator() in docs.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 1183da3744..15c9eefd60 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1746,7 +1746,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`. |
