bugfix production settings

This commit is contained in:
Benni Bärmann 2020-11-11 17:33:20 +01:00
parent c06ab48bde
commit 2f30ae3d36
1 changed files with 2 additions and 2 deletions

View File

@ -103,13 +103,13 @@ WSGI_APPLICATION = 'foerderbarometer.wsgi.application'
# Database # Database
# https://docs.djangoproject.com/en/3.1/ref/settings/#databases # https://docs.djangoproject.com/en/3.1/ref/settings/#databases
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.mysql', 'ENGINE': 'django.db.backends.mysql',
'NAME': 'fdb', 'NAME': 'fdb',
'USER': 'fdb', 'USER': 'fdb',
'PASSWORD': get_secret(DATABASE_PASSWORD), 'PASSWORD': get_secret('DATABASE_PASSWORD'),
'HOST': '10.0.6.7', # Or an IP Address that your database is hosted on 'HOST': '10.0.6.7', # Or an IP Address that your database is hosted on
# 'PORT': '3306', # 'PORT': '3306',
#optional: #optional: