diff options
| author | Tim Graham <timograham@gmail.com> | 2014-04-05 18:14:53 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-04-05 18:17:13 -0400 |
| commit | 38679254bf2006c0b31bdb172802024836dac46c (patch) | |
| tree | 0be359b912ffe810c42843d058e3004cab55add7 /docs/topics/testing | |
| parent | 5891fd3f89337fc190cf671575407233440d2736 (diff) | |
[1.7.x] Fixed #22216 -- Added Form.non_field_errors to form API doc.
Backport of d2f4553d705951ca8043d687f9493c559f494a0c from master
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/tools.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index d6e60458f3..25e1519c99 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1274,7 +1274,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. @@ -1295,7 +1296,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. |
