aboutsummaryrefslogtreecommitdiffstats
path: root/catalog/settings.py
diff options
context:
space:
mode:
authormaopengzhang <zhang.maopeng1@zte.com.cn>2019-09-05 20:23:36 +0800
committermaopengzhang <zhang.maopeng1@zte.com.cn>2019-09-05 20:23:36 +0800
commit5d5d8f38910c9e776a3d38bbeea26e85a08ed177 (patch)
treebc47a3852fb4ac58f645a7461ef001e40ea6f269 /catalog/settings.py
parent5fd2ae6a4517980ce0f89247bb354220748ae67b (diff)
fix tosca template bugs
unzip tosca package to files and fix some template bugs Change-Id: If5b7f70844fb3218f37cb9b3e286cfea622ae9a7 Issue-ID: MODELING-219 Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
Diffstat (limited to 'catalog/settings.py')
-rw-r--r--catalog/settings.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/catalog/settings.py b/catalog/settings.py
index 51c9a88..df9d5f0 100644
--- a/catalog/settings.py
+++ b/catalog/settings.py
@@ -53,8 +53,9 @@ INSTALLED_APPS = [
'catalog.samples',
'catalog.swagger',
'drf_yasg',
+ # 'django_nose'
]
-
+# TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
# drf-yasg
SWAGGER_SETTINGS = {
'LOGIN_URL': '/admin/login',
@@ -116,6 +117,12 @@ DATABASES = {
},
}
+# DATABASES = {}
+# DATABASES['default'] = {
+# 'ENGINE': 'django.db.backends.sqlite3',
+# 'NAME': ':memory:',
+# }
+
catalog.pub.redisco.connection_setup(host=REDIS_HOST, port=REDIS_PORT, password=REDIS_PASSWD, db=0)
# CACHE_BACKEND = 'redis_cache.cache://%s@%s:%s' % (REDIS_PASSWD, REDIS_HOST, REDIS_PORT)