Commit 8019c46b authored by Lukas Burgey's avatar Lukas Burgey

Adapt settings.py

parent 4084a161
...@@ -93,18 +93,13 @@ WSGI_APPLICATION = 'feudal.wsgi.application' ...@@ -93,18 +93,13 @@ WSGI_APPLICATION = 'feudal.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.mysql', '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': { 'OPTIONS': {
'init_command': "SET innodb_strict_mode=1; SET sql_mode='STRICT_TRANS_TABLES'", 'read_default_file': '/home/feudal/.my.cnf',
'charset': 'utf8mb4', 'init_command': "SET innodb_strict_mode=1; SET sql_mode='STRICT_TRANS_TABLES';",
'charset': 'utf8mb4'
}, },
'TEST': { 'TEST': {
'NAME': 'scc-hdfmysql0001_portal_test', 'NAME': 'scc-hdfmysql0001_portal_dev_test',
'CHARSET': 'utf8mb4',
'COLLATION': 'utf8mb4_unicode_ci',
} }
} }
} }
......
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