Author: kmtracey
Date: 2010-07-17 04:29:44 -0500 (Sat, 17 Jul 2010)
New Revision: 13434

Modified:
   django/trunk/docs/ref/models/instances.txt
Log:
Fixed import example code for NON_FIELD_ERRORS.


Modified: django/trunk/docs/ref/models/instances.txt
===================================================================
--- django/trunk/docs/ref/models/instances.txt  2010-07-17 02:38:10 UTC (rev 
13433)
+++ django/trunk/docs/ref/models/instances.txt  2010-07-17 09:29:44 UTC (rev 
13434)
@@ -107,7 +107,7 @@
 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:

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to