From 0847e5a3086fbcf9b65393b25a7ffc2996d46ee9 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Mon, 28 Oct 2024 23:40:13 +0100 Subject: [PATCH] Update Staticfiles storage for Django 5 Signed-off-by: Emmy D'Anello --- tfjm/settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tfjm/settings.py b/tfjm/settings.py index 652e372..db92738 100644 --- a/tfjm/settings.py +++ b/tfjm/settings.py @@ -196,7 +196,11 @@ STATICFILES_DIRS = [ STATIC_ROOT = os.path.join(BASE_DIR, "static") -STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage' +STORAGES = { + 'staticfiles': { + 'BACKEND': 'pipeline.storage.PipelineStorage', + }, +} STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder',