Browse files

[1.2.X] Fixed #14493 -- Corrected use of the wrong attribute in the m…

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

Backport of [14300] from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent f71f312 commit c2cb82b3c713ddcd33e547049edd3b850cee960c Gabriel Hurley committed Oct 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/ref/models/instances.txt
@@ -70,7 +70,7 @@ Example::
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.

0 comments on commit c2cb82b

Please sign in to comment.