Opened 5 years ago
Closed 5 years ago
#31107 closed New feature (duplicate)
Autocomplete fields in the admin do not respect limit_choices_to
Reported by: | Wesley van Lee | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 3.0 |
Severity: | Normal | Keywords: | ModelAdmin, autocomplete_fields, limit_choices_to |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It would be nice if the autocomplete_fields
in the ModelAdmin
respected the limit_choices_to
of the set ForeignKey
field.
Note:
See TracTickets
for help on using tickets.
Duplicate of #29707.