[1.2.X] Fixed #15191 - typo in form validation docs; thanks berto for the report.

Backport of r15372 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Timo Graham 2011-01-30 19:10:16 +00:00
parent d88753066d
commit 776bf6e5f7
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ far. So you also need to remember to allow for the fact that the fields you
are wanting to validate might not have survived the initial individual field are wanting to validate might not have survived the initial individual field
checks. checks.
There are two way to report any errors from this step. Probably the most There are two ways to report any errors from this step. Probably the most
common method is to display the error at the top of the form. To create such common method is to display the error at the top of the form. To create such
an error, you can raise a ``ValidationError`` from the ``clean()`` method. For an error, you can raise a ``ValidationError`` from the ``clean()`` method. For
example:: example::