diff options
| author | Hisham Mahmood <45965466+Hisham-Pak@users.noreply.github.com> | 2024-02-15 06:29:49 +0500 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2024-02-15 08:18:27 -0300 |
| commit | 3a54e64ef7c14946dd072ddc26666f4ab9551fe0 (patch) | |
| tree | 90b52edd3d412c5176581df5730c1fdee961e43e /docs | |
| parent | 1ba5afa0f21f10843bb530b443687e07a511516a (diff) | |
[5.0.x] Fixed #35173 -- Fixed ModelAdmin.lookup_allowed() for lookups on foreign keys when not included in ModelAdmin.list_filter.
Regression in f80669d2f5a5f1db9e9b73ca893fefba34f955e7.
Thanks Sarah Boyce for the review.
Backport of 8db593de05c3516c939b7d4b9eb91e8791f4c79a from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.3.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/5.0.3.txt b/docs/releases/5.0.3.txt index 30e87127b0..b433bf6f2f 100644 --- a/docs/releases/5.0.3.txt +++ b/docs/releases/5.0.3.txt @@ -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`). |
