from django.core.management.base import BaseCommand from ... import daemon class Command(BaseCommand): help = 'process incoming singal messages' def add_arguments(self, parser): pass def handle(self, *args, **options): daemon.main()