Commit aedfaa9d authored by lixiaofang's avatar lixiaofang

add log

parent ff7e64c8
...@@ -78,20 +78,20 @@ WSGI_APPLICATION = 'vest.wsgi.application' ...@@ -78,20 +78,20 @@ WSGI_APPLICATION = 'vest.wsgi.application'
# Database # Database
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases # https://docs.djangoproject.com/en/1.8/ref/settings/#databases
DATABASES = { # DATABASES = {
'default': { # 'default': {
'ENGINE': 'django.db.backends.mysql', # 设置为mysql数据库 # 'ENGINE': 'django.db.backends.mysql', # 设置为mysql数据库
'NAME': 'mimas_test', # 'NAME': 'mimas_test',
'USER': 'work', # 'USER': 'work',
'PASSWORD': 'Gengmei1', # 'PASSWORD': 'Gengmei1',
'HOST': 'bj-cdb-6slgqwlc.sql.tencentcdb.com', # 'HOST': 'bj-cdb-6slgqwlc.sql.tencentcdb.com',
'PORT': '62120', # 'PORT': '62120',
'OPTIONS': { # 'OPTIONS': {
"init_command": "SET foreign_key_checks = 0;", # "init_command": "SET foreign_key_checks = 0;",
"charset": "utf8mb4", # 为了支持emoji表情 # "charset": "utf8mb4", # 为了支持emoji表情
} # }
} # }
} # }
# Internationalization # Internationalization
# https://docs.djangoproject.com/en/1.8/topics/i18n/ # https://docs.djangoproject.com/en/1.8/topics/i18n/
......
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