#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):
The correct way of doing this would be to convert `limit_choices_to` to
form level constraints and not to populate concerned fields.
i.e. how would you populate a field based on `limit_choices_to =
{'integer_field__gte': 3}`?
--
Ticket URL: <https://code.djangoproject.com/ticket/23595#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 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.c0000654ccacf6509f873c6174717165%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.