Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
V
vest
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
vest
Commits
aedfaa9d
Commit
aedfaa9d
authored
Dec 25, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add log
parent
ff7e64c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
settings.py
vest/settings.py
+14
-14
No files found.
vest/settings.py
View file @
aedfaa9d
...
...
@@ -78,20 +78,20 @@ WSGI_APPLICATION = 'vest.wsgi.application'
# Database
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.mysql'
,
# 设置为mysql数据库
'NAME'
:
'mimas_test'
,
'USER'
:
'work'
,
'PASSWORD'
:
'Gengmei1'
,
'HOST'
:
'bj-cdb-6slgqwlc.sql.tencentcdb.com'
,
'PORT'
:
'62120'
,
'OPTIONS'
:
{
"init_command"
:
"SET foreign_key_checks = 0;"
,
"charset"
:
"utf8mb4"
,
# 为了支持emoji表情
}
}
}
#
DATABASES = {
#
'default': {
#
'ENGINE': 'django.db.backends.mysql', # 设置为mysql数据库
#
'NAME': 'mimas_test',
#
'USER': 'work',
#
'PASSWORD': 'Gengmei1',
#
'HOST': 'bj-cdb-6slgqwlc.sql.tencentcdb.com',
#
'PORT': '62120',
#
'OPTIONS': {
#
"init_command": "SET foreign_key_checks = 0;",
#
"charset": "utf8mb4", # 为了支持emoji表情
#
}
#
}
#
}
# Internationalization
# https://docs.djangoproject.com/en/1.8/topics/i18n/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment