From 8b1c0e5518320a00c7f6b7096133a3b74b63faef Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Thu, 11 Jan 2024 14:41:44 +0100 Subject: [PATCH] Remove not mandatory settings --- .../{{cookiecutter.django_settings_dirname}}/settings.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/{{cookiecutter.project_dirname}}/{{cookiecutter.django_settings_dirname}}/settings.py b/{{cookiecutter.project_dirname}}/{{cookiecutter.django_settings_dirname}}/settings.py index ba65838..ae537f3 100644 --- a/{{cookiecutter.project_dirname}}/{{cookiecutter.django_settings_dirname}}/settings.py +++ b/{{cookiecutter.project_dirname}}/{{cookiecutter.django_settings_dirname}}/settings.py @@ -184,8 +184,6 @@ class ProjectDefault(Configuration): SESSION_COOKIE_SECURE = True - SESSION_COOKIE_SAMESITE = "Strict" - # Secure Proxy SSL Header # https://docs.djangoproject.com/en/stable/ref/settings/#secure-proxy-ssl-header @@ -380,8 +378,6 @@ def DATABASES(self): # pragma: no cover # Security # https://docs.djangoproject.com/en/stable/topics/security/ - CSRF_COOKIE_SAMESITE = "Strict" - CSRF_COOKIE_SECURE = True SECURE_BROWSER_XSS_FILTER = True