pull/94/head
eric 2022-02-15 18:18:16 -05:00
parent 1b04ef22bd
commit 99e2578fd1
1 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ def periodic_cleanup():
@task
def feature_new_work():
works = Work.objects.filter(is_free=True, featured__isnull=True).order_by('-num_wishes')
work = works[random.randrange(0,50)]
work = works[random.randrange(0, 50)]
work.featured = now()
work.save()