summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-11-15 10:21:58 -0500
committerTim Graham <timograham@gmail.com>2013-11-15 10:22:55 -0500
commitb41540f1566213297ada89d6e11040b853f8f04d (patch)
tree8d9b92a89051794ae6a34a12e93f07278f6b4556 /docs
parent47b6a7c354871892949916018fabe780c7006103 (diff)
[1.5.x] Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt
Thanks alasdair. Backport of d011714002 from master
Diffstat (limited to 'docs')
-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 694e11865f..60d456b2f1 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/docs/topics/http/shortcuts.txt
@@ -152,7 +152,7 @@ This example is equivalent to::
def my_view(request):
# View code here...
- t = loader.get_template('myapp/template.html')
+ t = loader.get_template('myapp/index.html')
c = Context({'foo': 'bar'})
return HttpResponse(t.render(c),
content_type="application/xhtml+xml")