#12626: Empty forms should be valid
---------------------------+------------------------------------------------
 Reporter:  iElectric      |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.1       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 {{{
 >>> django.forms.Form().is_valid()
 False
 >>> django.forms.Form({}).is_valid()
 True
 >>>
 }}}

 The following usecase makes this a bug and unwanted behaviour:

 I use session based form wizard in which user can say he has enough
 between the forms. Because none of the forms has any required fields, this
 should be doable. However it is not, as when all forms are validated, the
 one's that are not yet bound fail validation.

 Yes, this can be and will be solved at FormWizard, but why such unexpected
 behaviour?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12626>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to