Skip to content
Browse files

Fixed import example code for NON_FIELD_ERRORS.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 9d0b9ad commit 2fce843832dabd09abe75ac5d9ba909540cdd683 @kmtracey kmtracey committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/models/instances.txt
2  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.
Something went wrong with that request. Please try again.