#23547: BooleanField that is required and have value False always will raise
ValidationError
-----------------------------------+--------------------------------------
     Reporter:  Lagovas            |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  Forms              |                  Version:  1.6
     Severity:  Normal             |               Resolution:
     Keywords:  Form BooleanField  |             Triage Stage:  Unreviewed
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------

Comment (by Lagovas):

 Added new patch. For correct way, in "to_python" will saving raw_value and
 then in "validate" check that it value not in empty_values if field is
 required. And removed 2 tests, that expect ValidationError with correct
 false value.

--
Ticket URL: <https://code.djangoproject.com/ticket/23547#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/065.fadadd78a149d8288cee1205e7b23697%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to