Update Staticfiles storage for Django 5

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-10-28 23:40:13 +01:00
parent e5aa3ef059
commit 0847e5a308
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 5 additions and 1 deletions

View File

@ -196,7 +196,11 @@ STATICFILES_DIRS = [
STATIC_ROOT = os.path.join(BASE_DIR, "static") STATIC_ROOT = os.path.join(BASE_DIR, "static")
STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage' STORAGES = {
'staticfiles': {
'BACKEND': 'pipeline.storage.PipelineStorage',
},
}
STATICFILES_FINDERS = ( STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.FileSystemFinder',