From d73f7c31a1cff04842f4539edd2d4cc866aee501 Mon Sep 17 00:00:00 2001
From: Alexandre Iooss <erdnaxe@crans.org>
Date: Sun, 9 Aug 2020 19:36:11 +0200
Subject: [PATCH] Define BASE_DIR in development.py

---
 note_kfet/settings/development.py | 3 +++
 1 file changed, 3 insertions(+)

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 = {
-- 
GitLab