from django.core.management import BaseCommand from aggregator.client import start_client class Command(BaseCommand): def handle(self, *args, **options): start_client()