From c7249065dd97158156aac4d80a0fdcbf98d55958 Mon Sep 17 00:00:00 2001 From: Adel Kadi Date: Tue, 30 Jun 2026 12:22:43 +0100 Subject: [PATCH] settings --- creativeschool/settings.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/creativeschool/settings.py b/creativeschool/settings.py index cf4eec1..97bcd8f 100644 --- a/creativeschool/settings.py +++ b/creativeschool/settings.py @@ -146,9 +146,11 @@ STATIC_URL = "/static/" STATIC_ROOT = BASE_DIR / "staticfiles" -STATICFILES_STORAGE = ( - "whitenoise.storage.CompressedManifestStaticFilesStorage" -) +STORAGES = { + "staticfiles": { + "BACKEND": "whitenoise.storage.CompressedStaticFilesStorage", + }, +} MEDIA_URL = "/media/" MEDIA_ROOT = "/app/media"