Browse Source

bugfix production settings

master
Benni Baermann 4 years ago
parent
commit
2f30ae3d36
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      foerderbarometer/settings_production.py

+ 2
- 2
foerderbarometer/settings_production.py 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:

Loading…
Cancel
Save