Skip to content
Snippets Groups Projects

Allow configuring db host in production

Merged Benjamin Hättasch requested to merge feature-db-host into master
2 files
+ 5
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -25,7 +25,7 @@ CSRF_COOKIE_SECURE = True
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'HOST': 'localhost',
'HOST': getattr(secrets, "DB_HOST", "localhost"),
'NAME': secrets.DB_NAME,
'USER': secrets.DB_USER,
'PASSWORD': secrets.DB_PASSWORD,
Loading