summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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::