#35173: DisallowedModelAdminLookup raised when filtering with __isnull on a ForeignKey not listed in list_filters -------------------------------------+------------------------------------- Reporter: Stian Jensen | Owner: Hisham | Mahmood Type: Bug | Status: closed Component: contrib.admin | Version: 5.0 Severity: Release blocker | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Natalia <124304+nessita@…>):
In [changeset:"3a54e64ef7c14946dd072ddc26666f4ab9551fe0" 3a54e64e]: {{{#!CommitTicketReference repository="" revision="3a54e64ef7c14946dd072ddc26666f4ab9551fe0" [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 }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35173#comment:10> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018dac7e0522-df26e8cc-6bd9-4212-b520-9c7d639ed50c-000000%40eu-central-1.amazonses.com.