#20982: forms.BooleanField field issue
---------------------------+--------------------------------------
     Reporter:  george.li  |                    Owner:  nobody
         Type:  Bug        |                   Status:  new
    Component:  Forms      |                  Version:  1.7
     Severity:  Normal     |               Resolution:
     Keywords:             |             Triage Stage:  Unreviewed
    Has patch:  1          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  0
Easy pickings:  0          |                    UI/UX:  0
---------------------------+--------------------------------------

Comment (by timgraham):

 Looking at your example, the field is working as expected. As noted in
 comment 1, if you want to accept `False`, you need to use
 `required=False`. The
 [https://docs.djangoproject.com/en/dev/ref/forms/fields/#booleanfield docs
 for BooleanField] describe the behavior.

--
Ticket URL: <https://code.djangoproject.com/ticket/20982#comment:4>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.83a6a653ed089c8dd8edca38773e4bec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to