0
0
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:
Karl Hobley 2015-07-02 12:24:00 +01:00
parent 60e2d81052
commit 98a3cf4abf

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