Specify the full path of the sqlite database

This commit is contained in:
Martin Pépin 2017-08-11 17:24:09 +01:00
parent 853fa57ce4
commit 5923166196

View file

@ -3,14 +3,17 @@ Django local settings for the cof project.
The settings that are not listed here are imported from .common
"""
import os
from .dev import * # NOQA
from .dev import BASE_DIR
# Use sqlite for local development
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": "db.sqlite3",
"NAME": os.path.join(BASE_DIR, "db.sqlite3")
}
}