Updated flatpages tests to override CSRF_FAILURE_VIEW.
This commit is contained in:
parent
8550df869b
commit
dafec05548
|
@ -15,6 +15,7 @@ from django.test.utils import override_settings
|
|||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
|
||||
),
|
||||
CSRF_FAILURE_VIEW='django.views.csrf.csrf_failure',
|
||||
TEMPLATE_DIRS=(
|
||||
os.path.join(os.path.dirname(__file__), 'templates'),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue