#30007: ForeignKey's limit_choices_to attribute is ignored when autocomplete view
builds queryset.
-------------------------------------+-------------------------------------
Reporter: Mehdi | Owner: nobody
Pourfar |
Type: Bug | Status: new
Component: | Version: 2.1
contrib.admin | Keywords: admin,
Severity: Normal | autocomplete, limit_choices_to
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
When I set limit_choices_to on a ForeignKey field, and set my admin model
to use autocomplete for that field, my limit_choices_to is ignored in
autocomplete results.
--
Ticket URL: <https://code.djangoproject.com/ticket/30007>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.