1
0
mirror of https://github.com/django/django.git synced 2025-10-28 16:16:12 +00:00

Removed usage of mimetype kwarg of HttpResponse

Refs #16519.
This commit is contained in:
Claude Paroz
2012-06-30 21:19:07 +02:00
parent c446bdee84
commit deed192dda
5 changed files with 9 additions and 9 deletions

View File

@@ -101,4 +101,4 @@ def csrf_failure(request, reason=""):
'reason': reason,
'no_referer': reason == REASON_NO_REFERER
})
return HttpResponseForbidden(t.render(c), mimetype='text/html')
return HttpResponseForbidden(t.render(c), content_type='text/html')