Use mountable database folder

This commit is contained in:
Sascha Ißbrücker
2019-07-03 19:50:25 +02:00
parent d57ea27ba3
commit c489f354c5
5 changed files with 25 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ WSGI_APPLICATION = 'siteroot.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'NAME': os.path.join(BASE_DIR, 'data', 'db.sqlite3'),
}
}