Browse Source

Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms.

David Smith 4 years ago
parent
commit
e2e34f4de3
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docs/topics/forms/formsets.txt

+ 5 - 0
docs/topics/forms/formsets.txt

@@ -415,6 +415,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
 ===========================================