Merge branch 'master' of github.com:Gluejar/regluit into goodreads

pull/1/head
Raymond Yee 2011-11-06 18:41:26 -05:00
commit 2a060d2405
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def work(request, work_id):
premiums = campaign.premiums.all()
if premiums.count() == 0:
premiums = models.Premium.objects.filter(campaign__isnull=True)
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)