django-orchestra/orchestra/contrib/mailer/management/commands/sendpendingmessages.py

12 lines
248 B
Python
Raw Normal View History

2015-05-04 19:52:53 +00:00
import json
from django.core.management.base import BaseCommand, CommandError
from ...engine import send_pending
class Command(BaseCommand):
help = 'Runs Orchestra method.'
def handle(self, *args, **options):
send_pending()