Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
c2d1f0e5
Commit
c2d1f0e5
authored
Apr 19, 2018
by
Lukas Burgey
Browse files
Fix db settings
parent
02d94148
Changes
1
Hide whitespace changes
Inline
Side-by-side
django_backend/settings.py
View file @
c2d1f0e5
...
...
@@ -94,7 +94,13 @@ DATABASES = {
'HOST'
:
'mysql2g.scc.kit.edu'
,
'PASSWORD'
:
os
.
environ
[
'DB_PASSWORD'
],
'OPTIONS'
:
{
'init_command'
:
'SET innodb_strict_mode=1'
,
'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'
,
}
}
}
...
...
@@ -204,9 +210,3 @@ LOGGING = {
},
},
}
# Silence some warning concerning database collation format
SILENCED_SYSTEM_CHECKS
=
[
'django_mysql.W003'
,
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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