From a73998095f3ade4a235f5598d3ec2a1138752fb5 Mon Sep 17 00:00:00 2001 From: gzbender Date: Thu, 11 Oct 2018 17:07:53 +0500 Subject: [PATCH] LIL-694 --- .../management/commands/sendgrid_update_recipients.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 apps/notification/management/commands/sendgrid_update_recipients.py diff --git a/apps/notification/management/commands/sendgrid_update_recipients.py b/apps/notification/management/commands/sendgrid_update_recipients.py new file mode 100644 index 00000000..7a23aae9 --- /dev/null +++ b/apps/notification/management/commands/sendgrid_update_recipients.py @@ -0,0 +1,11 @@ +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() +