#36228: ModelAdmin using non-default DB + RelatedOnlyFieldListFilter crashes
-------------------------------+--------------------------------------
Reporter: Ran Benita | Owner: (none)
Type: Bug | Status: closed
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Ran Benita):
Thanks for taking a look!
The page you linked regarding the admin multi-db does recommend the
approach I am using -- overriding `get_queryset` to add `using()`. That
example will crash if `RelatedOnlyFieldListFilter` is added.
--
Ticket URL: <https://code.djangoproject.com/ticket/36228#comment:2>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019565ad6b49-2b3d4215-7c8a-4053-a3af-bf92da36cafb-000000%40eu-central-1.amazonses.com.