Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
8019c46b
Commit
8019c46b
authored
Jul 26, 2018
by
Lukas Burgey
Browse files
Adapt settings.py
parent
4084a161
Changes
1
Hide whitespace changes
Inline
Side-by-side
feudal/settings.py
View file @
8019c46b
...
...
@@ -93,18 +93,13 @@ WSGI_APPLICATION = 'feudal.wsgi.application'
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.mysql'
,
'NAME'
:
'scc-hdfmysql0001_portal'
,
'USER'
:
os
.
environ
[
'DB_USER'
],
'HOST'
:
'mysql2g.scc.kit.edu'
,
'PASSWORD'
:
os
.
environ
[
'DB_PASSWORD'
],
'OPTIONS'
:
{
'init_command'
:
"SET innodb_strict_mode=1; SET sql_mode='STRICT_TRANS_TABLES'"
,
'charset'
:
'utf8mb4'
,
'read_default_file'
:
'/home/feudal/.my.cnf'
,
'init_command'
:
"SET innodb_strict_mode=1; SET sql_mode='STRICT_TRANS_TABLES';"
,
'charset'
:
'utf8mb4'
},
'TEST'
:
{
'NAME'
:
'scc-hdfmysql0001_portal_test'
,
'CHARSET'
:
'utf8mb4'
,
'COLLATION'
:
'utf8mb4_unicode_ci'
,
'NAME'
:
'scc-hdfmysql0001_portal_dev_test'
,
}
}
}
...
...
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