8000 [1.5.x] Removed a doc reference to the deprecated `mimetype` kwarg. · alex-python/django@50369c5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 50369c5

Browse files
cipherselfcharettes
authored andcommitted
[1.5.x] Removed a doc reference to the deprecated mimetype kwarg.
Backport of 61ed959 from master
1 parent e0fb48c commit 50369c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/topics/http/shortcuts.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ MIME type :mimetype:`application/xhtml+xml`::
143143
def my_view(request):
144144
# View code here...
145145
return render_to_response('myapp/index.html', {"foo": "bar"},
146-
mimetype="application/xhtml+xml")
146+
content_type="application/xhtml+xml")
147147

148148
This example is equivalent to::
149149

0 commit comments

Comments
 (0)
0