From 6048596a04ed4f6ef9060d4f52c3ffa7a566c4f8 Mon Sep 17 00:00:00 2001 From: Jason Wallace Date: Thu, 8 Dec 2022 09:47:34 +0200 Subject: [PATCH] Add APP_DIR setting. --- example/settings/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/settings/base.py b/example/settings/base.py index 2f77379..de521d0 100644 --- a/example/settings/base.py +++ b/example/settings/base.py @@ -15,7 +15,8 @@ # Build paths inside the project like this: BASE_DIR / 'subdir'. SETTINGS_DIR = Path(__file__).resolve().parent -BASE_DIR = SETTINGS_DIR.parent.parent +APP_DIR = SETTINGS_DIR.parent +BASE_DIR = APP_DIR.parent LOG_DIR = os.environ.get('LOG_DIR', BASE_DIR)