Deactivate custom csrf view for tests

This commit is contained in:
Benjamin Dauvergne 2015-03-10 14:53:13 +01:00
parent 5907b85caf
commit 6f4c045408
1 changed files with 1 additions and 0 deletions

View File

@ -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'