Private
Public Access
1
0

db info to config.yaml

This commit is contained in:
Sander Roosendaal
2017-06-25 19:47:52 +02:00
parent 1e493b13ed
commit 1717f6ee62

View File

@@ -134,11 +134,11 @@ WSGI_APPLICATION = 'rowsandall_app.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.mysql', 'ENGINE': 'django.db.backends.mysql',
'NAME': 'rowsanda_107501', 'NAME': CFG['db_name'],
'USER': 'rowsanda_107501', 'USER': CFG['db_user'],
'PASSWORD': 'roeidata', 'PASSWORD': CFG['db_password'],
'HOST': 'store3.rosti.cz', 'HOST': CFG['db_host'],
'PORT': '3306', 'PORT': CFG['db_port'],
}, },
'slave': { 'slave': {
'ENGINE': 'django.db.backends.sqlite3', 'ENGINE': 'django.db.backends.sqlite3',