#11707: limit_choices_to on a ForeignKey can render duplicate options in
formfield
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
Chris.Wesseling@… | Milestone:
Status: reopened | Version: SVN
Component: Forms | Keywords: ForeingKey
Resolution: | limit_choices_to
Triage Stage: Ready for | Has patch: 1
checkin | Needs tests: 0
Needs documentation: 0 |
Patch needs improvement: 0 |
-------------------------------------+-------------------------------------
Changes (by lukeplant):
* status: closed => reopened
* resolution: fixed =>
Comment:
Re-opened due to the fix being reverted, as above. For future reference, a
possible alternative solution might be to do filtering of duplicates in
Python, at the point of rendering the form field, rather than in the
database.
--
Ticket URL: <http://code.djangoproject.com/ticket/11707#comment:9>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.