diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt index 0db1276a4b..1e10278b04 100644 --- a/docs/topics/http/shortcuts.txt +++ b/docs/topics/http/shortcuts.txt @@ -167,7 +167,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")