#10882: FormWizard process_step receives yet to be validated form for previous
steps
-------------------------------------------+--------------------------------
 Reporter:  graham.carl...@maplecroft.com  |       Owner:  nobody    
   Status:  new                            |   Milestone:            
Component:  django.contrib.formtools       |     Version:  SVN       
 Keywords:                                 |       Stage:  Unreviewed
Has_patch:  0                              |  
-------------------------------------------+--------------------------------
 The docs for FormWizard process_step state that "The Form is guaranteed to
 have clean, valid data." and so you might assume that the form it supplies
 is ready to use when passed to this method. However its only the current
 step that gets a form that has the cleaned_data property immediately
 accessible, whereas previous steps require the form.is_valid method to be
 called.

 So it seems that the code should call is_valid on forms from previous
 steps before passing the form to process_step. Presumably as the docs
 state the form would always be valid and if not then somehow the hash has
 been defeated.

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