foerderbarometer/input/management/commands/sendmails.py

8 lines
300 B
Python

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'))