Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated flatpages tests to override CSRF_FAILURE_VIEW.

  • Loading branch information...
commit dafec05548acdc3146d5fe850528f9e017681a07 1 parent 8550df8
@teferi teferi authored timgraham committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/flatpages/tests/test_csrf.py
View
1  django/contrib/flatpages/tests/test_csrf.py
@@ -15,6 +15,7 @@
'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'),
),
Please sign in to comment.
Something went wrong with that request. Please try again.