Dropped obsolete mimetype kwarg in csrf test view

This commit is contained in:
Claude Paroz 2019-09-21 20:44:55 +02:00
parent 45304e444e
commit 9d5a487f33
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ def post_form_view(request):
"""Return a POST form (without a token)."""
return HttpResponse(content="""
<html><body><h1>\u00a1Unicode!<form method="post"><input type="text"></form></body></html>
""", mimetype='text/html')
""")
@ensure_csrf_cookie