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