Skip to content

Commit

Permalink
fix: settings.BASE_DIR location
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Léobal <olivier.leobal@owkin.com>
  • Loading branch information
oleobal committed Jun 22, 2023
1 parent 6c9213c commit 3090c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/backend/settings/deps/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "../.."))
PROJECT_ROOT = os.path.dirname(BASE_DIR)

sys.path.append(PROJECT_ROOT)
Expand Down

0 comments on commit 3090c0a

Please sign in to comment.