#3218: [patch] django.contrib.formtools.wizard proposal
-----------------------------------------------+----------------------------
 Reporter:  Honza Král <[EMAIL PROTECTED]>  |        Owner:  adrian
     Type:  enhancement                        |       Status:  new   
 Priority:  normal                             |    Milestone:        
Component:  django.contrib.formtools           |      Version:  SVN   
 Severity:  normal                             |   Resolution:        
 Keywords:  newforms wizard                    |  
-----------------------------------------------+----------------------------
Changes (by Honza Král <[EMAIL PROTECTED]>):

  * version:  new-admin => SVN
  * component:  Unit test system => django.contrib.formtools
  * severity:  blocker => normal

Comment:

 see the failed_hash() method -- all one does is revert to a previous step.
 It doesn't keep the data from steps after this one...
 
 to use initial data:
 {{{
     def process_step( self, request, form, step ):
         if not hasattr( form, 'clean_data' ):
             form.full_clean()
         self.initial[step+1] = form.clean_data
 }}}
 this will pre-fill every step with the results of the preceding form.

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