mirror of
https://github.com/django/django.git
synced 2025-03-13 19:00:45 +00:00
Dropped obsolete mimetype kwarg in csrf test view
This commit is contained in:
parent
45304e444e
commit
9d5a487f33
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user