You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
619 B

from django.core.management.base import BaseCommand, CommandError
# mails must be send here:
#
# - two weeks after confirmation of support for volunteer (/extern) send link
# with surveylink
#
# - same for HonoraryCertificate and accreditation
#
# - travel: mail 3 weeks after end of project.
#
# - assumed end of project (/project) reached: mail to IF, link to project-editpage
#
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'))