summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunbin <bins@vmware.com>2018-05-08 15:24:26 +0800
committersunbin <bins@vmware.com>2018-05-08 15:35:25 +0800
commit0e39e0363e1008d4f162b247747d8bbecffd7ae1 (patch)
treeae16402075a1b6f6861642a1abbaf28b90f505ac
parent69a315e508da7716c0c01caeaafd3da5a3d20599 (diff)
Remove sqlite.db
Change-Id: I5fde66a727a2c210bdd5e113118918ece2428e5d Issue-ID: MULTICLOUD-226 Signed-off-by: sunbin <bins@vmware.com>
-rw-r--r--multivimbroker/multivimbroker/settings.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/multivimbroker/multivimbroker/settings.py b/multivimbroker/multivimbroker/settings.py
index c1d31d0..d5cd466 100644
--- a/multivimbroker/multivimbroker/settings.py
+++ b/multivimbroker/multivimbroker/settings.py
@@ -71,12 +71,6 @@ REST_FRAMEWORK = {
)
}
-DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
- }
-}
# CACHE_BACKEND = 'redis_cache.cache://%s@%s:%s' %
# (REDIS_PASSWD, REDIS_HOST, REDIS_PORT)
@@ -97,11 +91,6 @@ config.yamlConfig(filepath=LOGGING_FILE, watchDog=True)
if 'test' in sys.argv:
from multivimbroker.pub.config import config
- DATABASES = {}
- DATABASES['default'] = {
- 'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': ':memory:',
- }
REST_FRAMEWORK = {}
import platform