mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #35173 -- Fixed ModelAdmin.lookup_allowed() for lookups on foreign keys when not included in ModelAdmin.list_filter.
Regression in f80669d2f5.
Thanks Sarah Boyce for the review.
This commit is contained in:
@@ -15,3 +15,8 @@ Bugfixes
|
||||
* Fixed a bug in Django 5.0 that caused a crash of ``Signal.asend()`` and
|
||||
``asend_robust()`` when all receivers were asynchronous functions
|
||||
(:ticket:`35174`).
|
||||
|
||||
* Fixed a regression in Django 5.0.1 where :meth:`.ModelAdmin.lookup_allowed`
|
||||
would prevent filtering against foreign keys using lookups like ``__isnull``
|
||||
when the field was not included in :attr:`.ModelAdmin.list_filter`
|
||||
(:ticket:`35173`).
|
||||
|
||||
Reference in New Issue
Block a user