mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 19:20:56 +01:00
Merge pull request #1463 from kaedroho/test-database-name
Allow SQLite database location to be changed with DATABASE_NAME
This commit is contained in:
commit
4c24e1a1ec
@ -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