diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-09-08 13:25:00 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-09-08 13:25:00 +0000 |
| commit | cf70c96ce08bec8834ada695451cc915f7558dbd (patch) | |
| tree | 5ccf9d96d88a692f161f64bd515e78ea95da7a3e /docs/ref/contrib/admin | |
| parent | 414c762c3abfebb2670a3b26aba7028d62303cfe (diff) | |
Fixed #15997 -- Added `list_max_show_all` option to `ModelAdmin` in replacement for a global module level variable. Thanks, jsdalton.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/contrib/admin')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 40ef31ca99..d68197e57b 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -695,6 +695,15 @@ subclass:: The ``FieldListFilter`` API is currently considered internal and prone to refactoring. +.. attribute:: ModelAdmin.list_max_show_all + + .. versionadded:: 1.4 + + Set ``list_max_show_all`` to control how many items can appear on a "Show + all" admin change list page. The admin will display a "Show all" link on the + change list only if the total result count is less than or equal to this + setting. By default, this is set to ``200``. + .. attribute:: ModelAdmin.list_per_page Set ``list_per_page`` to control how many items appear on each paginated |
