From 50369c5295400aadd00076680afc619a0264d0bc Mon Sep 17 00:00:00 2001 From: Mohammed Attia Date: Thu, 7 Aug 2014 03:32:41 +0300 Subject: [1.5.x] Removed a doc reference to the deprecated `mimetype` kwarg. Backport of 61ed959235 from master --- docs/topics/http/shortcuts.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:: -- cgit v1.3