1
0
mirror of https://github.com/django/django.git synced 2025-06-05 03:29:12 +00:00

[1.5.x] Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt

Thanks alasdair.

Backport of d011714002 from master
This commit is contained in:
Tim Graham 2013-11-15 10:21:58 -05:00
parent 47b6a7c354
commit b41540f156

View File

@ -152,7 +152,7 @@ This example is equivalent to::
def my_view(request): def my_view(request):
# View code here... # View code here...
t = loader.get_template('myapp/template.html') t = loader.get_template('myapp/index.html')
c = Context({'foo': 'bar'}) c = Context({'foo': 'bar'})
return HttpResponse(t.render(c), return HttpResponse(t.render(c),
content_type="application/xhtml+xml") content_type="application/xhtml+xml")