diff --git a/tcms/settings/common.py b/tcms/settings/common.py index 8135ddc756..fb4e57f9fe 100644 --- a/tcms/settings/common.py +++ b/tcms/settings/common.py @@ -169,6 +169,17 @@ } } +# https://docs.djangoproject.com/en/5.1/ref/settings/#std-setting-STORAGES +STORAGES = { + "default": { + "BACKEND": "django.core.files.storage.FileSystemStorage", + }, + "staticfiles": { + "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage", + }, +} + + # Absolute path to the directory static files should be collected to. # Don't put anything in this directory yourself; store your static files # in apps' "static/" subdirectories and in STATICFILES_DIRS.