#5828: Changeset 6613 seems to have broken edit inline
--------------------------------------------------+-------------------------
   Reporter:  Øyvind Saltvik <[EMAIL PROTECTED]>  |                Owner:  
nobody         
     Status:  new                                 |            Component:  
Admin interface
    Version:  newforms-admin                      |           Resolution:       
          
   Keywords:                                      |                Stage:  
Accepted       
  Has_patch:  0                                   |           Needs_docs:  0    
          
Needs_tests:  0                                   |   Needs_better_patch:  0    
          
--------------------------------------------------+-------------------------
Comment (by brosner):

 Ok, I have attached a patch that passes all tests and seems to work fine
 with inline models.  I think it would be correct behavior for the
 ```CheckboxInput``` to return as empty when the value is not ```True```.
 I did the same thing with ```NullBooleanSelect``` since it is similar to
 ```CheckboxInput``` that cleans the data in ```value_from_datadict```.
 Let me know if shouldn't be the correct behavior.  I also created an
 ```is_empty``` method on ```MultiWidget``` to handle the hacked cases in
 the original ```is_empty``` method in ```BaseForm```.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5828#comment:10>
Django Code <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 [email protected]
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