diff --git a/tests/settings.py b/tests/settings.py index fb02029..f837e54 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -35,6 +35,16 @@ } } +MIDDLEWARE = [ + "django.middleware.security.SecurityMiddleware", + "django.contrib.sessions.middleware.SessionMiddleware", + "django.middleware.common.CommonMiddleware", + "django.middleware.csrf.CsrfViewMiddleware", + "django.contrib.auth.middleware.AuthenticationMiddleware", + "django.contrib.messages.middleware.MessageMiddleware", + "django.middleware.clickjacking.XFrameOptionsMiddleware", +] + TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates',