mirror of
https://github.com/django/django.git
synced 2025-05-01 12:44:36 +00:00
[1.10.x] Fixed #27278 -- Fixed an anchor in docs/topics/forms/formsets.txt.
Backport of 8d233a2132c20d85f4e863a3eb62168f667c45df from master
This commit is contained in:
parent
5731342dbc
commit
8fec24f7c3
@ -296,8 +296,6 @@ The formset ``clean`` method is called after all the ``Form.clean`` methods
|
|||||||
have been called. The errors will be found using the ``non_form_errors()``
|
have been called. The errors will be found using the ``non_form_errors()``
|
||||||
method on the formset.
|
method on the formset.
|
||||||
|
|
||||||
.. _validate_max:
|
|
||||||
|
|
||||||
Validating the number of forms in a formset
|
Validating the number of forms in a formset
|
||||||
===========================================
|
===========================================
|
||||||
|
|
||||||
@ -305,6 +303,8 @@ Django provides a couple ways to validate the minimum or maximum number of
|
|||||||
submitted forms. Applications which need more customizable validation of the
|
submitted forms. Applications which need more customizable validation of the
|
||||||
number of forms should use custom formset validation.
|
number of forms should use custom formset validation.
|
||||||
|
|
||||||
|
.. _validate_max:
|
||||||
|
|
||||||
``validate_max``
|
``validate_max``
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user