#35087: DisallowedModelAdminLookup raised when filtering on a ForeignKey not
listed
in list_filters
-------------------------------------+-------------------------------------
Reporter: Maxime Lorant | Owner: Sarah
| Boyce
Type: Bug | Status: closed
Component: contrib.admin | Version: 5.0
Severity: Release blocker | Resolution: fixed
Keywords: admin filters | Triage Stage: Ready for
foreignkey | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"4cba6748a640a158a26a0a0d11597b393bdd3883" 4cba6748]:
{{{
#!CommitTicketReference repository=""
revision="4cba6748a640a158a26a0a0d11597b393bdd3883"
[5.0.x] Fixed #35087 -- Reallowed filtering against foreign keys not
listed in ModelAdmin.list_filters.
Regression in f80669d2f5a5f1db9e9b73ca893fefba34f955e7.
Backport of a9094ec1f43dca7f2a649327afcd5e6226b4959c from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35087#comment:6>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018ce94043db-2b4d3c8e-e228-426c-91c9-ef06aad1e593-000000%40eu-central-1.amazonses.com.