Skip to content
Browse files

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

Thanks olof.bjarnason at gmail.com for the report.
  • Loading branch information...
1 parent 8e6d1b9 commit 6e9e6ca0712cf1d2d0874ea5c8b63140804605a5 @timgraham timgraham committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/http/shortcuts.txt
View
2 docs/topics/http/shortcuts.txt
@@ -85,7 +85,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 6e9e6ca

Please sign in to comment.
Something went wrong with that request. Please try again.