summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2010-07-17 09:33:27 +0000
committerKaren Tracey <kmtracey@gmail.com>2010-07-17 09:33:27 +0000
commit48dd139e5494dd6763131fddde0286d3fd4c8d5a (patch)
treeda10040480b966a38c0868ed3ba07c9b99d6c783 /docs/ref
parentab693cea8096149302b3f4ecf8eede6a358a9621 (diff)
[1.2.X] Fixed import example code for NON_FIELD_ERRORS.
r13434 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-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 dd14dd1ce7..1e72e0c662 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -107,7 +107,7 @@ special key that is used for errors that are tied to the entire model instead
of to a specific field. You can access these errors with ``NON_FIELD_ERRORS``::
- from django.core.validators import ValidationError, NON_FIELD_ERRORS
+ from django.core.exceptions import ValidationError, NON_FIELD_ERRORS
try:
article.full_clean()
except ValidationError, e: