diff options
| author | Carl Meyer <carl@oddbird.net> | 2011-10-08 19:23:37 +0000 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2011-10-08 19:23:37 +0000 |
| commit | 29def3e52c31ffd39c7a67e5fc04165133dd4440 (patch) | |
| tree | 8e43a58335abbfd9eccda444d757dffff97fe0a6 | |
| parent | ac6361a3a641ed231e0380d2346114de11f407dc (diff) | |
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
| -rw-r--r-- | django/conf/global_settings.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
