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:
parent
e207b962eb
commit
3d2a9ce18f
@ -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),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user