diff --git a/note_kfet/settings/development.py b/note_kfet/settings/development.py index 0ac5864b..282ee478 100644 --- a/note_kfet/settings/development.py +++ b/note_kfet/settings/development.py @@ -12,6 +12,9 @@ import os +# Build paths inside the project like this: os.path.join(BASE_DIR, ...) +BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + if os.getenv("DJANGO_DEV_STORE_METHOD", "sqlite") != "postgresql": # Use an SQLite database DATABASES = {