#11806: FormWizard.process_step() doesn't always have a validated Form.
---------------------------+------------------------------------------------
 Reporter:  kiowa          |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Documentation  |     Version:  1.1       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 The FormWizard documentation says:
 {{{
 FormWizard.process_step()

     Hook for modifying the wizard's internal state, given a fully
 validated Form object. The Form is guaranteed to have clean, valid data.
 }}}

 But the form isn't always guaranteed to be clean - and thus give access to
 its '''cleaned_data''' mapping.

 To achieve this you will need in your process_step:
 {{{
 process_step(self, request, form, step):
     form.full_clean()
 }}}

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