summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-11-15 07:09:46 -0500
committerTim Graham <timograham@gmail.com>2013-11-15 07:10:47 -0500
commitf2b5e9d5bbfced68c02f50ebb15a7adf70bca36e (patch)
tree2f71547c66b4dee800f0b2a572daa4b58e23e12e
parent2a0039ba62e35714a4b7bf6dc4f243e8f2c40a24 (diff)
[1.6.x] Fixed #21440 -- Typo in topics/http/shortcuts.txt
Thanks olof.bjarnason at gmail.com for the report. Backport of 6e9e6ca071 from master
-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 a6670531da..51326e945c 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/docs/topics/http/shortcuts.txt
@@ -82,7 +82,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 = RequestContext(request, {'foo': 'bar'})
return HttpResponse(t.render(c),
content_type="application/xhtml+xml")