1
0
mirror of https://github.com/django/django.git synced 2025-04-22 00:04:43 +00:00

[1.5.x] Removed a doc reference to the deprecated mimetype kwarg.

Backport of 61ed959235 from master
This commit is contained in:
Mohammed Attia 2014-08-07 03:32:41 +03:00 committed by Simon Charette
parent e0fb48c254
commit 50369c5295

View File

@ -143,7 +143,7 @@ MIME type :mimetype:`application/xhtml+xml`::
def my_view(request):
# View code here...
return render_to_response('myapp/index.html', {"foo": "bar"},
mimetype="application/xhtml+xml")
content_type="application/xhtml+xml")
This example is equivalent to::