Permalink
Browse files

[1.6.x] Fixed #21440 -- Typo in topics/http/shortcuts.txt

Thanks olof.bjarnason at gmail.com for the report.

Backport of 6e9e6ca from master
  • Loading branch information...
1 parent 2a0039b commit f2b5e9d5bbfced68c02f50ebb15a7adf70bca36e @timgraham timgraham committed Nov 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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")

0 comments on commit f2b5e9d

Please sign in to comment.