Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
feudal
feudalBackend
Commits
c2d1f0e5
Commit
c2d1f0e5
authored
Apr 19, 2018
by
Lukas Burgey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix db settings
parent
02d94148
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
django_backend/settings.py
django_backend/settings.py
+7
-7
No files found.
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
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