mirror of
https://github.com/django/django.git
synced 2025-05-08 16:06:28 +00:00
Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms.
This commit is contained in:
parent
35b03788b0
commit
e2e34f4de3
@ -415,6 +415,11 @@ deletion, is greater than or equal to ``min_num``.
|
|||||||
>>> formset.non_form_errors()
|
>>> formset.non_form_errors()
|
||||||
['Please submit 3 or more forms.']
|
['Please submit 3 or more forms.']
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
Regardless of ``validate_min``, if a formset contains no data, then
|
||||||
|
``extra + min_num`` empty forms will be displayed.
|
||||||
|
|
||||||
Dealing with ordering and deletion of forms
|
Dealing with ordering and deletion of forms
|
||||||
===========================================
|
===========================================
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user