#29707: New admin autocomplete widget ignores limit_choices_to filter in
referring
FK definition
-------------------------------------+-------------------------------------
Reporter: David W. Lloyd | Owner: Johannes
Type: | Hoppe
Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Gordon Wrigley):
Considering the case of an FK from choice to poll called my_poll. It
would've been nice if the autocomplete call was
`choice/autocomplete?field=my_poll&term=bob` instead of
`poll/autocomplete?term=bob` that would have made context based filtering
way way easier.
--
Ticket URL: <https://code.djangoproject.com/ticket/29707#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/067.a574ea4b24cafca81d887aeb72884638%40djangoproject.com.