From 5d50953482a2540e4c91ebce92222dcc2b83c9b7 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Wed, 27 Aug 2025 20:27:30 +0200 Subject: [PATCH] Ajout settings MEDIA --- common/settings.py | 2 ++ templates/base.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/settings.py b/common/settings.py index 02997a2..cb69fb6 100644 --- a/common/settings.py +++ b/common/settings.py @@ -110,6 +110,8 @@ USE_TZ = True STATIC_URL = "static/" STATIC_ROOT = BASE_DIR / "static" +MEDIA_URL = "media/" +MEDIA_ROOT = BASE_DIR / "media" LOGOUT_REDIRECT_URL = reverse_lazy("presentation") diff --git a/templates/base.html b/templates/base.html index c2ab07a..efac00c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,7 +28,7 @@ - +