Commit 684d84db authored by lixiaofang's avatar lixiaofang

doris_dymas

parent 56edf880
This diff is collapsed.
......@@ -78,7 +78,7 @@ TEMPLATES = [
},
]
WSGI_APPLICATION = 'doris.wsgi.application'
WSGI_APPLICATION = 'dymas.wsgi.application'
# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
......@@ -123,8 +123,8 @@ STATIC_URL = '/static/'
admin.site.site_header = '更美策略平台'
STATIC_ROOT = 'static'
WORD_FILE = '/srv/apps/doris/static/word/word.txt'
STOP_WORD_FILE = '/srv/apps/doris/static/word/stopword.txt'
WORD_FILE = '/srv/apps/dymas/static/word/word.txt'
STOP_WORD_FILE = '/srv/apps/dymas/static/word/stopword.txt'
ES_CONSTS = {
'TAG_ID_DIRECTOR_RECOMMEND': 1142, # "所长精选" tag id
......@@ -159,7 +159,7 @@ DEVICE_PORTRAIT_NAME = "device:{}:category"
FEED_CACHE_VERSION = "v0"
DATABASE_ROUTERS = ['doris.routers.DatabaseRouter']
DATABASE_ROUTERS = ['dymas.routers.DatabaseRouter']
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql', # 设置为mysql数据库
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment