diff options
| author | David Smith <39445562+smithdc1@users.noreply.github.com> | 2020-08-18 21:56:39 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-08-18 22:59:16 +0200 |
| commit | b2fc5292b23cd6689063c3ff97eaa802400d8b8a (patch) | |
| tree | 90b504dc596c54ceca9ca8c74636485df1a5ea00 /docs/topics/forms/formsets.txt | |
| parent | 6eb0f4f70d0c785874a616e871dfc9d56a306728 (diff) | |
[3.1.x] Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms.
Backport of e2e34f4de3b90f3820ee11d49cc369ef573bc2ef from master
Diffstat (limited to 'docs/topics/forms/formsets.txt')
| -rw-r--r-- | docs/topics/forms/formsets.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt index 2f3e4403f6..6e4487f5d9 100644 --- a/docs/topics/forms/formsets.txt +++ b/docs/topics/forms/formsets.txt @@ -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 =========================================== |
