summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Hurley <gabehr@gmail.com>2010-10-20 21:08:06 +0000
committerGabriel Hurley <gabehr@gmail.com>2010-10-20 21:08:06 +0000
commite9d6662f5e3b143cf48aaf84379aaa9a2bb57426 (patch)
treeb792dd3e426e89c1bb791f05711be345b8e295cd /docs
parent14b52b95d260e38392c7f2c3e0ebc34525a7aa89 (diff)
Fixed #14493 -- Corrected use of the wrong attribute in the model validation 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
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/instances.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 09d88df50b..6ab65b03cb 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -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.