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:51 -0500
commite8dea1f35cc037d104924994b8afbc5549b5c49e (patch)
tree056e4902292fc388660e85311c37f64013a16f0b /docs
parent882ee16f68deeb1831b83a407911e720fbd5e9fd (diff)
[1.6.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 51326e945c..dbdc966d9d 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/docs/topics/http/shortcuts.txt
@@ -154,7 +154,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")