summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b11a7e193d..fb951ce6a7 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.