From 38679254bf2006c0b31bdb172802024836dac46c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 5 Apr 2014 18:14:53 -0400 Subject: [1.7.x] Fixed #22216 -- Added Form.non_field_errors to form API doc. Backport of d2f4553d705951ca8043d687f9493c559f494a0c from master --- docs/topics/testing/tools.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/topics/testing') 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() `) 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() `) will + be checked. ``errors`` is an error string, or a list of error strings, that are expected as a result of form validation. -- cgit v1.3