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

Thanks olof.bjarnason at gmail.com for the report.
This commit is contained in:
Tim Graham 2013-11-15 07:09:46 -05:00
parent 8e6d1b9792
commit 6e9e6ca071
1 changed files with 1 additions and 1 deletions

View File

@ -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")