Author: PaulM
Date: 2012-03-12 14:58:07 -0700 (Mon, 12 Mar 2012)
New Revision: 17689

Modified:
   django/trunk/django/db/backends/dummy/base.py
Log:
Fixed #17883. Improved error message for old-style database backends.


Modified: django/trunk/django/db/backends/dummy/base.py
===================================================================
--- django/trunk/django/db/backends/dummy/base.py       2012-03-12 20:28:09 UTC 
(rev 17688)
+++ django/trunk/django/db/backends/dummy/base.py       2012-03-12 21:58:07 UTC 
(rev 17689)
@@ -12,7 +12,9 @@
 from django.db.backends.creation import BaseDatabaseCreation
 
 def complain(*args, **kwargs):
-    raise ImproperlyConfigured("You haven't set the database ENGINE setting 
yet.")
+    raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
+                               "Please supply the ENGINE value. Check "
+                               "settings documentation for more details.")
 
 def ignore(*args, **kwargs):
     pass

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@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