diff --git a/common/settings.py b/common/settings.py index 6da2629..7bd2e0d 100644 --- a/common/settings.py +++ b/common/settings.py @@ -100,7 +100,14 @@ INSTALLED_APPS = ( FILE_UPLOAD_HANDLERS = ["django.core.files.uploadhandler.TemporaryFileUploadHandler"] -STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage' +STORAGES = { + "default": { + "BACKEND": "django.core.files.storage.FileSystemStorage", + }, + "staticfiles": { + "BACKEND": "django.contrib.staticfiles.storage.ManifestStaticFilesStorage", + }, +} ALLOWED_HOSTS = ['localhost', 'cpne-2s-stages.s2.rpn.ch'] diff --git a/requirements.txt b/requirements.txt index 9282e73..a92d67a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -Django~=4.1.0 +Django~=4.2.0 tabimport==0.5.1 xlrd<2 # Required by tabimport -openpyxl==3.0.5 +openpyxl==3.1.2 reportlab django-summernote==0.8.20.0