mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
Removed a doc reference to the deprecated mimetype
kwarg.
This commit is contained in:
parent
5257b85ab8
commit
61ed959235
@ -163,7 +163,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::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user