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):