#12510: ModelChoiceField.clean call to_python and validate from ChoiceField
------------------------------------------------------------+---------------
Reporter: Petr Marhoun <[email protected]> | Owner:
nobody
Status: new | Milestone:
1.2
Component: Forms | Version:
SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
------------------------------------------------------------+---------------
Comment (by Petr Marhoun <[email protected]>):
I attached test - it is quite artificial ("problem" in test could be
solved with simple "select_related" in queryset), but it should prove that
choices are really generated.
--
Ticket URL: <http://code.djangoproject.com/ticket/12510#comment:2>
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.