Log BASE_DIR

This commit is contained in:
Edgar P. Burkhart 2023-04-22 15:10:34 +02:00
parent 5abb9a3b30
commit d478f038ba
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ else:
# Build paths inside the project like this: BASE_DIR / 'subdir'.
MEDIA_CONF = CONFIG.get("media", {})
BASE_DIR = Path(__file__).resolve().parent.parent
print(BASE_DIR)
MEDIA_ROOT = Path(MEDIA_CONF.get("root", "/var/lib/nummi"))
MEDIA_URL = "media/"