From ed9dbbe42c04830bf398be15a96dabbb729bb602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Th=C3=A9pot?= Date: Wed, 14 Jan 2015 15:54:39 +0100 Subject: [PATCH] Blindly test if failure for django < 1.7 comes from middlewares --- quicktest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quicktest.py b/quicktest.py index 458db8c3..d49084b9 100644 --- a/quicktest.py +++ b/quicktest.py @@ -29,11 +29,12 @@ class QuickDjangoTest(object): 'bootstrapform', ) MIDDLEWARE_CLASSES = [ + 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', - 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] def __init__(self, *args, **kwargs):