Blindly test if failure for django < 1.7 comes from middlewares

This commit is contained in:
Simon Thépot 2015-01-14 15:54:39 +01:00
parent b53d3ad9bc
commit ed9dbbe42c

View File

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