mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #22569 -- Made ModelAdmin.lookup_allowed() respect get_list_filter().
Thank you Simon Meers for the initial patch.
This commit is contained in:
committed by
Mariusz Felisiak
parent
57f2b935b3
commit
594fcc2b74
@@ -387,6 +387,10 @@ Miscellaneous
|
||||
:class:`~django.db.models.BaseConstraint` is deprecated in favor of
|
||||
keyword-only arguments.
|
||||
|
||||
* ``request`` is added to the signature of :meth:`.ModelAdmin.lookup_allowed`.
|
||||
Support for ``ModelAdmin`` subclasses that do not accept this argument is
|
||||
deprecated.
|
||||
|
||||
Features removed in 5.0
|
||||
=======================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user