blob: af2ffcfd26086dc22bd0b23cf672f1fb9b502539 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import logging
from django.core.management.base import NoArgsCommand
from notification.engine import send_all
class Command(NoArgsCommand):
help = "Emit queued notices."
def handle_noargs(self, **options):
logging.basicConfig(level=logging.DEBUG, format="%(message)s")
logging.info("-" * 72)
send_all()
|