Browse files

Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt

Thanks alasdair.
  • Loading branch information...
1 parent 7e0ebd7 commit d011714002d4d8d73440149f24aa86142caf886f @timgraham timgraham committed Nov 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/http/shortcuts.txt
View
2 docs/topics/http/shortcuts.txt
@@ -167,7 +167,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")

0 comments on commit d011714

Please sign in to comment.