summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHisham Mahmood <45965466+Hisham-Pak@users.noreply.github.com>2024-02-15 06:29:49 +0500
committerGitHub <noreply@github.com>2024-02-14 22:29:49 -0300
commit8db593de05c3516c939b7d4b9eb91e8791f4c79a (patch)
treeedff850e9b3a91281af88de19cc720aa478b360e /docs
parentc783e7a3a0e411811aba83158d55e4f2f3091ac7 (diff)
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.0.3.txt5
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`).