mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #9061 -- Allowed FormSets to disable deleting extra forms.
Thanks to Dan Ward for the initial patch.
This commit is contained in:
committed by
Mariusz Felisiak
parent
2e8941b6f9
commit
162765d6c3
@@ -158,6 +158,11 @@ Forms
|
||||
customizing the maximum number of forms that can be instantiated when
|
||||
supplying ``POST`` data. See :ref:`formsets-absolute-max` for more details.
|
||||
|
||||
* The new ``can_delete_extra`` argument for :func:`.formset_factory`,
|
||||
:func:`.inlineformset_factory`, and :func:`.modelformset_factory` allows
|
||||
removal of the option to delete extra forms. See
|
||||
:attr:`~.BaseFormSet.can_delete_extra` for more information.
|
||||
|
||||
Generic Views
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user