diff options
| author | Paul McMillan <Paul@McMillan.ws> | 2012-03-12 21:58:07 +0000 |
|---|---|---|
| committer | Paul McMillan <Paul@McMillan.ws> | 2012-03-12 21:58:07 +0000 |
| commit | 3cc2cdddb3ac1e8a71978a0899d600def67ca4c7 (patch) | |
| tree | ff0fa6d1fe8fb03110d4a9b8c36ee486d65bef0b /django/db/backends/dummy | |
| parent | 3a5f9cd1ae8a2c7101f141d9730878abb74ec92f (diff) | |
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
Diffstat (limited to 'django/db/backends/dummy')
| -rw-r--r-- | django/db/backends/dummy/base.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/django/db/backends/dummy/base.py b/django/db/backends/dummy/base.py index 746f26bacc..12a940d3a2 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 |
