#9473: FormWizard doesn't work with NullableBooleanField
--------------------------------------------------+-------------------------
 Reporter:  LZ                                    |       Owner:  nobody    
   Status:  new                                   |   Milestone:  post-1.0  
Component:  django.contrib.formtools              |     Version:  1.0       
 Keywords:  form formwizard nullablebooleanfield  |       Stage:  Unreviewed
Has_patch:  0                                     |  
--------------------------------------------------+-------------------------
 Create a series of forms.  Make the first one contain a
 NullableBooleanField.  Then, place the forms in a (contrib.formtools.)
 Wizard.

 If the user set the value of the field to "True", it will succeed on the
 first submit.  However, when there is a second submit, it will fail with a
 cryptic Exception message.  It turns out that there's a
 render_hash_failure.

 This is my first time trying Django, so I only have a few hours
 experience, but I think the problem comes from

 
http://code.djangoproject.com/browser/django/trunk/django/contrib/formtools/utils.py
 :
 19          data = [(bf.name, bf.field.clean(bf.data) or '') for bf in
 form]

 Thank you!

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9473>
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to