from django.core.management.base import BaseCommand from apps.notification.tasks import sendgrid_update_recipients class Command(BaseCommand): help = 'Update recipients in sendgrid base' def handle(self, *args, **options): sendgrid_update_recipients()