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:15:54 -0400 |
| commit | 61ed9592356747b6324ca84a09df03c1bd030af9 (patch) | |
| tree | b063e4117f1f6583314a8a7562e21241984c50a7 /docs | |
| parent | 5257b85ab8a4a86b24005e3ca8c542ede44b0687 (diff) | |
Removed a doc reference to the deprecated `mimetype` kwarg.
Diffstat (limited to 'docs')
| -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 454aba0ed0..d64ec2f7cb 100644 --- a/docs/topics/http/shortcuts.txt +++ b/docs/topics/http/shortcuts.txt @@ -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:: |
