Browse files

Fixed import example code for NON_FIELD_ERRORS.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
kmtracey committed Jul 17, 2010
1 parent 9d0b9ad commit 2fce843832dabd09abe75ac5d9ba909540cdd683
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 2fce843

Please sign in to comment.