#17976: BooleanField not picklable
-------------------------------+--------------------
     Reporter:  bronger        |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Forms          |    Version:  1.4
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 Today, I switched from 1.3 to 1.4 and since then, !BooleanFields in forms
 are not picklable (and thus cacheable) anymore.  The following doesn't
 work since 1.4:

 {{{
 import pickle
 from django import forms

 class MyForm(forms.Form):
     my_field = forms.BooleanField()

 pickle.dump(MyForm(), open("/dev/null", "w"))
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17976>
Django <https://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