From 74f810aeea2188294246f4a7aa81facf1cdfa4b7 Mon Sep 17 00:00:00 2001 From: Joem Elias Sanez <61286823+israelias@users.noreply.github.com> Date: Fri, 3 Jan 2025 10:13:46 +0100 Subject: [PATCH] fix media root base --- backend/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/core/settings.py b/backend/core/settings.py index 9ffe7e0..68db430 100644 --- a/backend/core/settings.py +++ b/backend/core/settings.py @@ -202,7 +202,7 @@ STATIC_URL = "/staticfiles/" STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles") MEDIA_URL = "/media/" - MEDIA_ROOT = os.path.join(BASE_DIR, "media") + MEDIA_ROOT = str(BASE_DIR / "media/") STATICFILES_DIRS = (os.path.join(BASE_DIR, "static"),)