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 = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'rowsanda_107501',
'USER': 'rowsanda_107501',
'PASSWORD': 'roeidata',
'HOST': 'store3.rosti.cz',
'PORT': '3306',
'NAME': CFG['db_name'],
'USER': CFG['db_user'],
'PASSWORD': CFG['db_password'],
'HOST': CFG['db_host'],
'PORT': CFG['db_port'],
},
'slave': {
'ENGINE': 'django.db.backends.sqlite3',