File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,10 @@ this management data, an exception will be raised::
193
193
194
194
It is used to keep track of how many form instances are being displayed. If
195
195
you are adding new forms via JavaScript, you should increment the count fields
196
- in this form as well.
196
+ in this form as well. On the other hand, if you are using JavaScript to allow
197
+ deletion of existing objects, then you need to ensure the ones being removed
198
+ are properly marked for deletion by including ``form-#-DELETE`` in the ``POST``
199
+ data. It is expected that all forms are present in the ``POST`` data regardless.
197
200
198
201
The management form is available as an attribute of the formset
199
202
itself. When rendering a formset in a template, you can include all
You can’t perform that action at this time.
0 commit comments