#14044: "required=False" dones't work when use DateTimeField with
SplitDateTimeWidget
------------------------+---------------------------------------------------
 Reporter:  codeplayer  |       Owner:  nobody    
   Status:  new         |   Milestone:            
Component:  Forms       |     Version:  SVN       
 Keywords:              |       Stage:  Unreviewed
Has_patch:  0           |  
------------------------+---------------------------------------------------
 in django shell, this bug can be reproduced like this:

 {{{
 In [1]: from django.forms import *

 In [2]: class TForm(Form):
    ...:     d = DateTimeField(widget=SplitDateTimeWidget, required=False)
    ...:

 In [3]: print TForm(data={'d':''}).errors
 <ul class="errorlist"><li>d<ul class="errorlist"><li>Enter a valid
 date/time.</li></ul></li></ul>
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14044>
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.

Reply via email to