1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.

Thanks Krzysztof Nazarewski for the initial patch.
This commit is contained in:
Krzysztof Nazarewski
2017-07-05 13:00:10 +02:00
committed by Tim Graham
parent 3af305e8b8
commit 244cc40155
7 changed files with 143 additions and 65 deletions

View File

@@ -32,7 +32,8 @@ Minor features
:mod:`django.contrib.admin`
~~~~~~~~~~~~~~~~~~~~~~~~~~~
* ...
* :attr:`.ModelAdmin.search_fields` now accepts any lookup such as
``field__exact``.
:mod:`django.contrib.admindocs`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~