Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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 authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/http/shortcuts.txt
2  docs/topics/http/shortcuts.txt
@@ -152,7 +152,7 @@ This example is equivalent to::
152 152
 
153 153
     def my_view(request):
154 154
         # View code here...
155  
-        t = loader.get_template('myapp/template.html')
  155
+        t = loader.get_template('myapp/index.html')
156 156
         c = Context({'foo': 'bar'})
157 157
         return HttpResponse(t.render(c),
158 158
             content_type="application/xhtml+xml")

0 notes on commit b41540f

Please sign in to comment.
Something went wrong with that request. Please try again.