mirror of
https://github.com/django/django.git
synced 2024-11-29 06:03:25 +01:00
Fixed #27270 -- Clarified a paragraph in docs/topics/forms/formsets.txt.
Thanks Kifsif for the suggestion.
This commit is contained in:
parent
a5e13a0b92
commit
8110673aaf
@ -164,10 +164,10 @@ As we can see, ``formset.errors`` is a list whose entries correspond to the
|
||||
forms in the formset. Validation was performed for each of the two forms, and
|
||||
the expected error message appears for the second item.
|
||||
|
||||
Just like when using a normal ``Form``, each form in the formset may include
|
||||
HTML attributes such as ``maxlength`` for browser validation. However, forms of
|
||||
formsets won't include the ``required`` attribute as that validation may be
|
||||
incorrect when adding and deleting forms.
|
||||
Just like when using a normal ``Form``, each field in a formset's forms may
|
||||
include HTML attributes such as ``maxlength`` for browser validation. However,
|
||||
form fields of formsets won't include the ``required`` attribute as that
|
||||
validation may be incorrect when adding and deleting forms.
|
||||
|
||||
.. method:: BaseFormSet.total_error_count()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user