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'