From 3cc2cdddb3ac1e8a71978a0899d600def67ca4c7 Mon Sep 17 00:00:00 2001 From: Paul McMillan Date: Mon, 12 Mar 2012 21:58:07 +0000 Subject: [PATCH] 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 --- django/db/backends/dummy/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django/db/backends/dummy/base.py b/django/db/backends/dummy/base.py index 746f26bacca..12a940d3a22 100644 --- a/django/db/backends/dummy/base.py +++ b/django/db/backends/dummy/base.py @@ -12,7 +12,9 @@ from django.db.backends import * 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