Browse files

[1.2.X] Fixed import example code for NON_FIELD_ERRORS.

r13434 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent ab693ce commit 48dd139e5494dd6763131fddde0286d3fd4c8d5a @kmtracey kmtracey committed Jul 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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
except ValidationError, e:

0 comments on commit 48dd139

Please sign in to comment.