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

Adapt settings.py

parent 4084a161
......@@ -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',
}
}
}
......
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