From 6ef199a08e1c452289deda67629b1630d25ccfcf Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 20 Jun 2013 10:41:29 -0400 Subject: [PATCH] Fixed error in last commit. Thanks Simon Charette. --- docs/intro/tutorial03.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index d9f3f50a0d..91409848cf 100644 --- a/docs/intro/tutorial03.txt +++ b/docs/intro/tutorial03.txt @@ -346,7 +346,7 @@ Now let's update our ``index`` view in ``polls/views.py`` to use the template:: def index(request): latest_poll_list = Poll.objects.order_by('-pub_date')[:5] template = loader.get_template('polls/index.html') - context = RequestContext({ + context = RequestContext(request, { 'latest_poll_list': latest_poll_list, }) return HttpResponse(template.render(context))