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
629 B

  1. from django.core.management.base import BaseCommand, CommandError
  2. # mails must be send here:
  3. #
  4. # - two weeks after confirmation of support for volunteer (/extern) send link
  5. # with surveylink
  6. #
  7. # - same for HonoraryCertificate and accreditation (/intern)
  8. #
  9. # - travel: mail 3 weeks after end of project.
  10. #
  11. # - assumed end of project (/project) reached: mail to IF, link to project-editpage
  12. #
  13. class Command(BaseCommand):
  14. help = 'This command sends mail with surveylinks after some amount of time.'
  15. def handle(self, *args, **options):
  16. self.stdout.write(self.style.SUCCESS('sendmails custom command executed'))