0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00

reinstate DATABASE_USER / DATABASE_PASS / DATABASE_HOST vars so that we can test on mysql with non-default settings

This commit is contained in:
Matt Westcott 2015-03-27 12:40:23 +00:00
parent e207b962eb
commit 3d2a9ce18f

View File

@ -13,6 +13,9 @@ DATABASES = {
'default': { 'default': {
'ENGINE': os.environ.get('DATABASE_ENGINE', 'django.db.backends.sqlite3'), 'ENGINE': os.environ.get('DATABASE_ENGINE', 'django.db.backends.sqlite3'),
'NAME': os.environ.get('DATABASE_NAME', 'wagtail'), 'NAME': os.environ.get('DATABASE_NAME', 'wagtail'),
'USER': os.environ.get('DATABASE_USER', None),
'PASSWORD': os.environ.get('DATABASE_PASS', None),
'HOST': os.environ.get('DATABASE_HOST', None),
} }
} }