from django.core.management.base import BaseCommand, CommandError from billard.tasks import process_location_data class Command(BaseCommand): help = 'Process location data objects' def handle(self, *args, **options): process_location_data