mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #33622 -- Allowed customizing error messages for invalid number of forms.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
667105877e
commit
262fde94de
@@ -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
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user