From 3bd3467152a9d136cdcc5fc50b729303cca66ce9 Mon Sep 17 00:00:00 2001 From: Ed Summers Date: Mon, 7 Nov 2011 09:50:26 -0500 Subject: [PATCH] need pass premiums to the template --- frontend/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/views.py b/frontend/views.py index b6407c64..df0b629b 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -53,7 +53,7 @@ def work(request, work_id, action='display'): if action == 'setup_campaign': return render(request, 'setup_campaign.html', {'work': work}) else: - return render(request, 'work.html', {'work': work}) + return render(request, 'work.html', {'work': work, 'premiums': premiums}) def supporter(request, supporter_username, template_name): supporter = get_object_or_404(User, username=supporter_username)