0
0
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:
Karl Hobley 2015-07-03 17:33:23 +01:00
commit 4c24e1a1ec

View File

@ -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),
}
}
}