whoops ordering queryset on wrong thing

pull/1/head
Andromeda Yelton 2013-03-28 11:12:55 -04:00
parent f804a0df66
commit 9661c97bf3
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@ def home(request, landing=False):
"""
top_campaigns = models.Campaign.objects.filter(status="ACTIVE").order_by('left')[:4]
most_wished = models.Work.objects.order_by('-wishes')[:4]
most_wished = models.Work.objects.order_by('-num_wishes')[:4]
unglued_books = models.Work.objects.filter(campaigns__status="SUCCESSFUL").order_by('-campaigns__deadline')
"""