#10750: BaseInlineFormSet does not respect commit=False in save for new objects
after r10190
----------------------------------------------------------+-----------------
 Reporter:  Koen Biermans <koen.bierm...@werk.belgie.be>  |       Owner:  
nobody    
   Status:  new                                           |   Milestone:        
    
Component:  Uncategorized                                 |     Version:  SVN   
    
 Keywords:  formsets                                      |       Stage:  
Unreviewed
Has_patch:  0                                             |  
----------------------------------------------------------+-----------------
 The save_new method on BaseInlineFormSet does not respect the commit bit
 passed to it (it saves the object even if commit=False). This method was
 added in r10190.

 This means that if there are required fields that the forms on the
 inlineformset do not contain, you get an error, even if you use
 commit=False to add the required information to the new objects yourself.

 Possible fix: do not do obj.save() if commit is False (line 549 in
 django/forms/models.py).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10750>
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