#9336: CheckboxInput should render 'False' value as unchecked
-------------------------------+--------------------------------------------
          Reporter:  bthomas   |         Owner:  nobody
            Status:  new       |     Milestone:  1.2   
         Component:  Forms     |       Version:  1.0   
        Resolution:            |      Keywords:        
             Stage:  Accepted  |     Has_patch:  1     
        Needs_docs:  0         |   Needs_tests:  0     
Needs_better_patch:  0         |  
-------------------------------+--------------------------------------------
Changes (by bthomas):

  * needs_better_patch:  1 => 0

Comment:

 Replying to [comment:7 russellm]:
 > I may be missing something here, but I concur with Malcolm. This isn't
 the same fix as #9473 - that patch deals with the value_from_datadict
 function, which needs to be liberal on what it accepts based on the
 various widgets that could be used to render booleans. This patch deals
 with the __init__ and render methods, which should both be dealing with
 cleansed data that we can reliably know to be boolean.
 >

 Quite correct, of course. I've attached a patch that fixes
 value_from_datadict instead

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