new custom command for sending mails via cron (still empty)

This commit is contained in:
Benni Baermann 2020-10-07 11:21:21 +02:00
parent 78272a2f77
commit 0f1523cc6a

View file

@ -0,0 +1,7 @@
from django.core.management.base import BaseCommand, CommandError
class Command(BaseCommand):
help = 'This command sends mail with surveylinks after some amount of time.'
def handle(self, *args, **options):
self.stdout.write(self.style.SUCCESS('sendmails custom command executed'))