#10882: FormWizard process_step receives yet to be validated form for previous
steps
----------------------------------------------------+-----------------------
          Reporter:  graham.carl...@maplecroft.com  |         Owner:  jashugan
            Status:  assigned                       |     Milestone:          
         Component:  django.contrib.formtools       |       Version:  SVN     
        Resolution:                                 |      Keywords:          
             Stage:  Unreviewed                     |     Has_patch:  1       
        Needs_docs:  0                              |   Needs_tests:  1       
Needs_better_patch:  0                              |  
----------------------------------------------------+-----------------------
Changes (by jashugan):

  * status:  new => assigned
  * needs_better_patch:  => 0
  * needs_tests:  => 1
  * owner:  nobody => jashugan
  * needs_docs:  => 0
  * has_patch:  0 => 1

Comment:

 So, this is my first patch submission.  Let me know if I've done anything
 wrong.

 This patch ensures that process_step is always passed a form with "clean,
 valid data." It also removes a final sanity check before done() is called,
 because all of the forms should be validated.  I've added a valid_forms
 list that accumulates the forms as they are validated: first the forms
 preceding the current_step, then the form at the current_step.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10882#comment:1>
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