#8898: `required` validation bypassed when using `SplitDateTimeWidget`.
-----------------------------------------------+----------------------------
 Reporter:  mrmachine                          |       Owner:  nobody    
   Status:  new                                |   Milestone:            
Component:  Forms                              |     Version:  SVN       
 Keywords:  DateTimeField SplitDateTimeWidget  |       Stage:  Unreviewed
Has_patch:  1                                  |  
-----------------------------------------------+----------------------------
 `DateTimeField.clean` calls `Field.clean` for the `required` part of its
 validation, but `Field.clean` doesn't understand multiple values, and so
 `DateTimeField.clean` continues with the assumption that a value has been
 provided, which raises an `invalid` error incorrectly when the
 `DateTimeField` is *not* required and no values have been provided. This
 also means that an `invalid` error is raised instead of a `required` error
 when the `DateTimeField` *is* required and no values have been provided.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8898>
Django Code <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to