hi,

i noticed that [] is not in the EMPTY_VALUES against which data is
validated in newforms fields' default clean() function; this makes
fields which usually return lists raise the ValidationError 'This field
is required.' themselves instead of relying on super(). an example of
this behavior is the MultipleChoiceField (newforms/fields.py:376).

is this intended behavior or just a leftover from some earlier stage?
why isn't the boolen representation used instead? (`if self.required and
not value:` instead of `if self.required and value in EMPTY_VALUES:`)?

regards
webograph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to