mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 19:20:56 +01:00
Allow SQLite database location to be changed with DATABASE_NAME
This commit is contained in:
parent
60e2d81052
commit
98a3cf4abf
@ -17,6 +17,10 @@ DATABASES = {
|
||||
'USER': os.environ.get('DATABASE_USER', None),
|
||||
'PASSWORD': os.environ.get('DATABASE_PASS', None),
|
||||
'HOST': os.environ.get('DATABASE_HOST', None),
|
||||
|
||||
'TEST': {
|
||||
'NAME': os.environ.get('DATABASE_NAME', None),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user