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

Thanks alasdair.
This commit is contained in:
Tim Graham 2013-11-15 10:21:58 -05:00
parent 7e0ebd74c1
commit d011714002
1 changed files with 1 additions and 1 deletions

View File

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