BUGFIX: name in surveymail for Travel should be project not request_url

This commit is contained in:
Benni Bärmann 2021-03-17 12:46:45 +01:00
parent 276acec502
commit be72261f5d
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class Command(BaseCommand):
supported = Travel.objects.filter(project__granted=True)\
.filter(project__end__lt = date.today() - timedelta(days=21))\
.exclude(survey_mail_send=True)
self.surveymails_to_object(supported, type='TRAV', name='request_url')
self.surveymails_to_object(supported, type='TRAV', name='project')
def surveymails_to_mail_vis_lis(self):
'''send survey link 2 weeks after mailadresss, mailinglist or businesscards are granted'''