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

View file

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