Skip to content

Commit

Permalink
[1.5.x] Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt
Browse files Browse the repository at this point in the history
Thanks alasdair.

Backport of d011714 from master
  • Loading branch information
timgraham committed Nov 15, 2013
1 parent 47b6a7c commit b41540f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/http/shortcuts.txt
Expand Up @@ -152,7 +152,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")
Expand Down

0 comments on commit b41540f

Please sign in to comment.