Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed import example code for NON_FIELD_ERRORS.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 2fce843832dabd09abe75ac5d9ba909540cdd683 1 parent 9d0b9ad
Karen Tracey authored July 17, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  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
107 107
 of to a specific field. You can access these errors with ``NON_FIELD_ERRORS``::
108 108
 
109 109
 
110  
-    from django.core.validators import ValidationError, NON_FIELD_ERRORS
  110
+    from django.core.exceptions import ValidationError, NON_FIELD_ERRORS
111 111
     try:
112 112
         article.full_clean()
113 113
     except ValidationError, e:

0 notes on commit 2fce843

Please sign in to comment.
Something went wrong with that request. Please try again.