Kaydet (Commit) dafec055 authored tarafından Kirill Zaitsev's avatar Kirill Zaitsev Kaydeden (comit) Tim Graham

Updated flatpages tests to override CSRF_FAILURE_VIEW.

üst 8550df86
......@@ -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'),
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment