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 in topics/http/shortcuts.txt

Thanks olof.bjarnason at gmail.com for the report.

Backport of 6e9e6ca from master
  • Loading branch information...
commit 47b6a7c354871892949916018fabe780c7006103 1 parent 16e5fdd
Tim Graham authored November 15, 2013

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
@@ -81,7 +81,7 @@ This example is equivalent to::
81 81
 
82 82
     def my_view(request):
83 83
         # View code here...
84  
-        t = loader.get_template('myapp/template.html')
  84
+        t = loader.get_template('myapp/index.html')
85 85
         c = RequestContext(request, {'foo': 'bar'})
86 86
         return HttpResponse(t.render(c),
87 87
             content_type="application/xhtml+xml")

0 notes on commit 47b6a7c

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