diff --git a/tests/csrf_tests/views.py b/tests/csrf_tests/views.py index 89d1189e0d..41bcb07ed6 100644 --- a/tests/csrf_tests/views.py +++ b/tests/csrf_tests/views.py @@ -9,7 +9,7 @@ def post_form_view(request): """Return a POST form (without a token).""" return HttpResponse(content="""

\u00a1Unicode!
-""", mimetype='text/html') +""") @ensure_csrf_cookie