#23595: “add” button for related fields in admin interface should send
'limit_choices_to' parameter to add form
--------------------------------------+------------------------------------
Reporter: macarena | Owner: gchp
Type: 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: 1
--------------------------------------+------------------------------------
Comment (by charettes):
@gchp, Django doesn't provide any helper to do such a thing which might be
the reason why this feature hasn't been implemented yet.
I was just pointing out that converting `limit_choices_to` to form initial
data is a naive approach since you're not enforcing anything and that it
has many limitations such as the one provided above.
--
Ticket URL: <https://code.djangoproject.com/ticket/23595#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.803e0cda83be746137c1e47ade5e7bb6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.