Add a function to fire off a successful_campaign signal
parent
01799924a9
commit
3dcacf881f
|
@ -309,6 +309,13 @@ def support_campaign(do_local=True):
|
|||
yield sel
|
||||
#sel.quit()
|
||||
|
||||
def successful_campaign_signal():
|
||||
"""fire off a success_campaign signal and send notifications"""
|
||||
import regluit
|
||||
from notification.engine import send_all
|
||||
c = regluit.core.models.Campaign.objects.get(id=3)
|
||||
regluit.core.signals.successful_campaign.send(sender=None, campaign=c)
|
||||
send_all()
|
||||
|
||||
|
||||
def berkeley_search():
|
||||
|
|
Loading…
Reference in New Issue