From 6f4c045408410acf62382f957739fd47811ccb1c Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 10 Mar 2015 14:53:13 +0100 Subject: [PATCH] Deactivate custom csrf view for tests --- tests/test_settings | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_settings b/tests/test_settings index 20b1a622e..2c6fc8a5a 100644 --- a/tests/test_settings +++ b/tests/test_settings @@ -42,3 +42,4 @@ MIGRATION_MODULES = { INSTALLED_APPS += ('django.contrib.sites',) SITE_ID = 1 TEMPLATE_DIRS = ('tests/templates',) + TEMPLATE_DIRS +CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'