From 29def3e52c31ffd39c7a67e5fc04165133dd4440 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Sat, 8 Oct 2011 19:23:37 +0000 Subject: [PATCH] Fixed #16873 - Added dummy database backend in default settings, so that just importing django.db doesn't trigger ImproperlyConfigured if there is no DATABASES setting. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16946 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/conf/global_settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index 2ee79b8eb0..766d0d6010 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -143,6 +143,9 @@ SEND_BROKEN_LINK_EMAILS = False # Database connection info. DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.dummy', + }, } # Classes used to implement db routing behaviour