from django.core.management.base import BaseCommand from apps.user.tasks import subscribers_to_sendgrid class Command(BaseCommand): help = 'Send subscribers to sendgrid' def handle(self, *args, **options): subscribers_to_sendgrid()