mirror of
https://github.com/django/django.git
synced 2025-03-13 02:40:47 +00:00
[1.6.x] Fixed #21440 -- Typo in topics/http/shortcuts.txt
Thanks olof.bjarnason at gmail.com for the report. Backport of 6e9e6ca071 from master
This commit is contained in:
parent
2a0039ba62
commit
f2b5e9d5bb
@ -82,7 +82,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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user