diff --git a/evap/settings.py b/evap/settings.py index 54ebc7b974..7902c2d213 100644 --- a/evap/settings.py +++ b/evap/settings.py @@ -13,6 +13,8 @@ import sys from typing import Any, List, Tuple +from django.contrib.staticfiles.storage import ManifestStaticFilesStorage + BASE_DIR = os.path.dirname(os.path.realpath(__file__)) @@ -133,10 +135,11 @@ }, } -from django.contrib.staticfiles.storage import ManifestStaticFilesStorage + class ManifestStaticFilesStorageWithJsReplacement(ManifestStaticFilesStorage): support_js_module_import_aggregation = True + STORAGES = { "default": { "BACKEND": "django.core.files.storage.FileSystemStorage",