mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
[3.1.x] Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms.
Backport of e2e34f4de3
from master
This commit is contained in:
parent
6eb0f4f70d
commit
b2fc5292b2
1 changed files with 5 additions and 0 deletions
|
@ -383,6 +383,11 @@ deletion, is greater than or equal to ``min_num``.
|
|||
>>> formset.non_form_errors()
|
||||
['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
|
||||
===========================================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue