mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
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:
parent
d83769f8dc
commit
c4ad3dede1
@ -59,7 +59,7 @@ compatibility.)
|
||||
Example::
|
||||
|
||||
try:
|
||||
article.full_validate()
|
||||
article.full_clean()
|
||||
except ValidationError, e:
|
||||
# Do something based on the errors contained in e.error_dict.
|
||||
# Display them to a user, or handle them programatically.
|
||||
|
Loading…
Reference in New Issue
Block a user