mirror of
https://github.com/django/django.git
synced 2025-07-23 13:15:32 +00:00
Fixed #22216 -- Added Form.non_field_errors to form API doc.
This commit is contained in:
parent
0a65da941c
commit
d2f4553d70
3 changed files with 17 additions and 6 deletions
|
@ -1269,7 +1269,8 @@ your test suite.
|
|||
|
||||
``field`` is the name of the field on the form to check. If ``field``
|
||||
has a value of ``None``, non-field errors (errors you can access via
|
||||
``form.non_field_errors()``) will be checked.
|
||||
:meth:`form.non_field_errors() <django.forms.Form.non_field_errors>`) will
|
||||
be checked.
|
||||
|
||||
``errors`` is an error string, or a list of error strings, that are
|
||||
expected as a result of form validation.
|
||||
|
@ -1288,7 +1289,8 @@ your test suite.
|
|||
|
||||
``field`` is the name of the field on the form to check. If ``field``
|
||||
has a value of ``None``, non-field errors (errors you can access via
|
||||
``form.non_field_errors()``) will be checked.
|
||||
:meth:`form.non_field_errors() <django.forms.Form.non_field_errors>`) will
|
||||
be checked.
|
||||
|
||||
``errors`` is an error string, or a list of error strings, that are
|
||||
expected as a result of form validation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue