mirror of
https://github.com/django/django.git
synced 2025-03-26 09:10:50 +00:00
[1.7.x] Removed a doc reference to the deprecated mimetype
kwarg.
Backport of 61ed959235 from master
This commit is contained in:
parent
bbcd86e264
commit
b6a6033096
@ -163,7 +163,7 @@ MIME type :mimetype:`application/xhtml+xml`::
|
|||||||
def my_view(request):
|
def my_view(request):
|
||||||
# View code here...
|
# View code here...
|
||||||
return render_to_response('myapp/index.html', {"foo": "bar"},
|
return render_to_response('myapp/index.html', {"foo": "bar"},
|
||||||
mimetype="application/xhtml+xml")
|
content_type="application/xhtml+xml")
|
||||||
|
|
||||||
This example is equivalent to::
|
This example is equivalent to::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user