Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #17883. Improved error message for old-style database backends.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3cc2cdddb3ac1e8a71978a0899d600def67ca4c7 1 parent 3a5f9cd
Paul McMillan authored March 12, 2012

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

  1. 4  django/db/backends/dummy/base.py
4  django/db/backends/dummy/base.py
@@ -12,7 +12,9 @@
12 12
 from django.db.backends.creation import BaseDatabaseCreation
13 13
 
14 14
 def complain(*args, **kwargs):
15  
-    raise ImproperlyConfigured("You haven't set the database ENGINE setting yet.")
  15
+    raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
  16
+                               "Please supply the ENGINE value. Check "
  17
+                               "settings documentation for more details.")
16 18
 
17 19
 def ignore(*args, **kwargs):
18 20
     pass

0 notes on commit 3cc2cdd

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