#8720: MultipleHiddenInput doesn't give list of elements in clean method
-------------------------------------------------+--------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: reopened | Milestone:
Component: Forms | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------------+--------------------------
Comment (by kratorius):
I've gone a bit further with this. The problem is that a {{{CharField}}}
can't handle multiple fields, and will always evaluate those to a string
representation (due to a {{{smart_unicode}}} conversion). I guess in this
case you just need to use {{{MultipleChoiceField}}} or a custom field.
I'm not sure whether this should be fixed or not, as my point of view is
that if you're using multiple stuff, {{{CharField}}} is not the field for
you but I'm leaving this open so someone else could look at this.
--
Ticket URL: <http://code.djangoproject.com/ticket/8720#comment:5>
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
-~----------~----~----~----~------~----~------~--~---