From b3766318da700ab09f5aa380b5c1b9bf3611dc38 Mon Sep 17 00:00:00 2001 From: Caitlin Barnard Date: Mon, 7 Oct 2024 10:59:13 +0100 Subject: [PATCH] Add csp to installed apps and update packages --- config/settings/base.py | 1 + requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/config/settings/base.py b/config/settings/base.py index f92bdb4a..21db5459 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -80,6 +80,7 @@ "simple_history", "axes", "django_chunk_upload_handlers", + "csp", ] ROOT_URLCONF = "config.urls" diff --git a/requirements.txt b/requirements.txt index e211b05f..d3f2a511 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,6 +25,7 @@ django-audit-log-middleware==0.0.5 ; python_version >= "3.12" and python_version django-autocomplete-light==3.11.0 ; python_version >= "3.12" and python_version < "4.0" django-axes==6.5.2 ; python_version >= "3.12" and python_version < "4.0" django-chunk-upload-handlers==0.0.14 ; python_version >= "3.12" and python_version < "4.0" +django-csp==3.8 ; python_version >= "3.12" and python_version < "4.0" django-environ==0.11.2 ; python_version >= "3.12" and python_version < "4" django-extensions==3.2.3 ; python_version >= "3.12" and python_version < "4.0" django-filter==24.3 ; python_version >= "3.12" and python_version < "4.0"