Fixed #12586. Corrected a typo in the validation docs. Thanks, phyfus.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Joseph Kocherhans 2010-01-12 14:04:04 +00:00
parent d83769f8dc
commit c4ad3dede1
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ compatibility.)
Example:: Example::
try: try:
article.full_validate() article.full_clean()
except ValidationError, e: except ValidationError, e:
# Do something based on the errors contained in e.error_dict. # Do something based on the errors contained in e.error_dict.
# Display them to a user, or handle them programatically. # Display them to a user, or handle them programatically.