Skip to content

Commit

Permalink
Adding tasks for sending emails
Browse files Browse the repository at this point in the history
  • Loading branch information
lfalvarez committed Oct 28, 2013
1 parent c93868b commit fb80e25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions elections/tasks.py
@@ -0,0 +1,6 @@
from celery import task
from elections.models import VotaInteligenteMessage

@task()
def send_mails_using_writeit():
VotaInteligenteMessage.push_moderated_messages_to_writeit()

0 comments on commit fb80e25

Please sign in to comment.