Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #14493 -- Corrected use of the wrong attribute in the model val…

…idation example pseudo-code. Thanks to wogan for the report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e9d6662f5e3b143cf48aaf84379aaa9a2bb57426 1 parent 14b52b9
Gabriel Hurley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/models/instances.txt
2  docs/ref/models/instances.txt
View
@@ -70,7 +70,7 @@ Example::
try:
article.full_clean()
except ValidationError, e:
- # Do something based on the errors contained in e.error_dict.
+ # Do something based on the errors contained in e.message_dict.
# Display them to a user, or handle them programatically.
The first step ``full_clean()`` performs is to clean each individual field.
Please sign in to comment.
Something went wrong with that request. Please try again.