From 47b6a7c354871892949916018fabe780c7006103 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 15 Nov 2013 07:09:46 -0500 Subject: [1.5.x] Fixed #21440 -- Typo in topics/http/shortcuts.txt Thanks olof.bjarnason at gmail.com for the report. Backport of 6e9e6ca071 from master --- docs/topics/http/shortcuts.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt index 0467c36cc4..694e11865f 100644 --- a/docs/topics/http/shortcuts.txt +++ b/docs/topics/http/shortcuts.txt @@ -81,7 +81,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") -- cgit v1.3