[#39477485] allow campaigns to succeed if amount sufficient before campaign deadline

pull/1/head
Raymond Yee 2012-11-13 09:01:05 -08:00
parent 48646c8ee4
commit f4c8c67850
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def send_mail_task(subject, message, from_email, recipient_list,
@task
def update_active_campaign_status():
"""update the status of all active campaigns -- presumed to be run at midnight Eastern time"""
return [c.update_status(send_notice=True) for c in Campaign.objects.filter(status='Active') ]
return [c.update_status(send_notice=True, ignore_deadline_for_success=True) for c in Campaign.objects.filter(status='Active') ]
@task
def emit_notifications():