diff options
| author | Ryan Kaskel <dev@ryankaskel.com> | 2013-05-20 12:13:03 -0400 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2013-05-20 12:13:21 -0400 |
| commit | 4280217f31fc634d320b0cf30bcb6d582b19d784 (patch) | |
| tree | aa4635fcfef0eb7802a456d12791d987935eca0a /docs | |
| parent | 266c0bb23e9d64c47ace4d162e582febd5a1e336 (diff) | |
Fixed #20403 -- Ignore forms marked for deletion when validating max_num.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/forms/formsets.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt index e55c22e3a2..68551d380b 100644 --- a/docs/topics/forms/formsets.txt +++ b/docs/topics/forms/formsets.txt @@ -283,7 +283,8 @@ Validating the number of forms in a formset If ``validate_max=True`` is passed to :func:`~django.forms.formsets.formset_factory`, validation will also check -that the number of forms in the data set is less than or equal to ``max_num``. +that the number of forms in the data set, minus those marked for +deletion, is less than or equal to ``max_num``. >>> from django.forms.formsets import formset_factory >>> from myapp.forms import ArticleForm |
