1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #10284 -- ModelFormSet.save(commit=False) no longer deletes objects

Thanks laureline.guerin@ and Wedg.
This commit is contained in:
Tim Graham
2013-07-12 09:52:18 -04:00
parent 311c1d2848
commit 65e03a424e
5 changed files with 43 additions and 9 deletions

View File

@@ -94,6 +94,11 @@ Miscellaneous
have a custom :class:`~django.core.files.uploadhandler.FileUploadHandler`
that implements ``new_file()``, be sure it accepts this new parameter.
* :class:`ModelFormSet<django.forms.models.BaseModelFormSet>`'s no longer
delete instances when ``save(commit=False)`` is called. See
:attr:`~django.forms.formsets.BaseFormSet.can_delete` for instructions on how
to manually delete objects from deleted forms.
Features deprecated in 1.7
==========================