diff options
| author | Mohammed Attia <skeuomorf@gmail.com> | 2014-08-07 03:32:41 +0300 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2014-08-06 22:20:05 -0400 |
| commit | 3d8e106ae96ba75a2ea01b0424b92b87ee0f7e07 (patch) | |
| tree | b6fbb795b5073252a157c20ecf40ab948b7aaf95 | |
| parent | 5fdfa2d9b49cfb31298d75ffc51800e730bf876c (diff) | |
[1.6.x] Removed a doc reference to the deprecated `mimetype` kwarg.
Backport of 61ed959235 from master
| -rw-r--r-- | docs/topics/http/shortcuts.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt index 3f6f73c8ad..f7454e772b 100644 --- a/docs/topics/http/shortcuts.txt +++ b/docs/topics/http/shortcuts.txt @@ -150,7 +150,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:: |
