summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Attia <skeuomorf@gmail.com>2014-08-07 03:32:41 +0300
committerSimon Charette <charette.s@gmail.com>2014-08-06 22:21:16 -0400
commit50369c5295400aadd00076680afc619a0264d0bc (patch)
tree1d45b8865254398096c4f35a87945136754d97d9
parente0fb48c2548c05b010c3b8d64f5906b092b0b503 (diff)
[1.5.x] Removed a doc reference to the deprecated `mimetype` kwarg.
Backport of 61ed959235 from master
-rw-r--r--docs/topics/http/shortcuts.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt
index 60d456b2f1..8642da2c38 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/docs/topics/http/shortcuts.txt
@@ -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::