diff options
| author | Marc SeguĂ Coll <metarizard@gmail.com> | 2022-05-08 00:53:13 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-05-10 13:42:31 +0200 |
| commit | 262fde94de5eb6544fc0f289575583436613c045 (patch) | |
| tree | d0b5f41d41a4e4d86a2973bfb260350e4dab8c0e /docs/releases | |
| parent | 667105877e6723c6985399803a364848891513cc (diff) | |
Fixed #33622 -- Allowed customizing error messages for invalid number of forms.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/4.1.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt index fa5990393b..a9e6d71cd1 100644 --- a/docs/releases/4.1.txt +++ b/docs/releases/4.1.txt @@ -292,6 +292,11 @@ Forms attributes help to identify widgets where its inputs should be grouped in a ``<fieldset>`` with a ``<legend>``. +* The :ref:`formsets-error-messages` argument for + :class:`~django.forms.formsets.BaseFormSet` now allows customizing + error messages for invalid number of forms by passing ``'too_few_forms'`` + and ``'too_many_forms'`` keys. + Generic Views ~~~~~~~~~~~~~ |
