Skip to content

Commit

Permalink
Fixed error in last commit. Thanks Simon Charette.
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Jun 20, 2013
1 parent df4a74d commit 6ef199a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/intro/tutorial03.txt
Expand Up @@ -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))
Expand Down

0 comments on commit 6ef199a

Please sign in to comment.