From 79da93e56e7c9b005b22cb604477f33d8b63999e Mon Sep 17 00:00:00 2001 From: Arne Schauf Date: Tue, 29 Apr 2025 14:16:54 +0200 Subject: [PATCH] Update STATIC_ROOT and MEDIA_ROOT paths for deployment Changed STATIC_ROOT and MEDIA_ROOT to absolute paths suitable for the deployment environment. This ensures compatibility with the server's filesystem structure. --- feo_homepage/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feo_homepage/settings/base.py b/feo_homepage/settings/base.py index ce74244..052fdb6 100644 --- a/feo_homepage/settings/base.py +++ b/feo_homepage/settings/base.py @@ -143,7 +143,7 @@ USE_TZ = True # https://docs.djangoproject.com/en/5.2/howto/static-files/ STATIC_URL = 'static/' -STATIC_ROOT = BASE_DIR / 'static' +STATIC_ROOT = '/app/static' MEDIA_URL = '/media/' MEDIA_ROOT = '/app/media'