diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 7 | ||||
| -rw-r--r-- | docs/releases/4.0.txt | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index f1c64bea28..99d6d2dcc8 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1381,6 +1381,13 @@ subclass:: Support for searching against quoted phrases with spaces was added. +.. attribute:: ModelAdmin.search_help_text + + .. versionadded:: 4.0 + + Set ``search_help_text`` to specify a descriptive text for the search box + which will be displayed below it. + .. attribute:: ModelAdmin.show_full_result_count Set ``show_full_result_count`` to control whether the full count of objects diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt index 761b47b982..54de681a81 100644 --- a/docs/releases/4.0.txt +++ b/docs/releases/4.0.txt @@ -75,6 +75,9 @@ Minor features * The new context variable ``model`` which contains the model class for each model is added to the :meth:`.AdminSite.each_context` method. +* The new :attr:`.ModelAdmin.search_help_text` attribute allows specifying a + descriptive text for the search box. + :mod:`django.contrib.admindocs` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
