Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Thanks alasdair.

Backport of d011714 from master
  • Loading branch information...
commit b41540f1566213297ada89d6e11040b853f8f04d 1 parent 47b6a7c
Tim Graham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/http/shortcuts.txt
2  docs/topics/http/shortcuts.txt
View
@@ -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")
Please sign in to comment.
Something went wrong with that request. Please try again.