BUGFIX: name in surveymail for Travel should be project not request_url
This commit is contained in:
parent
276acec502
commit
be72261f5d
|
@ -135,7 +135,7 @@ class Command(BaseCommand):
|
||||||
supported = Travel.objects.filter(project__granted=True)\
|
supported = Travel.objects.filter(project__granted=True)\
|
||||||
.filter(project__end__lt = date.today() - timedelta(days=21))\
|
.filter(project__end__lt = date.today() - timedelta(days=21))\
|
||||||
.exclude(survey_mail_send=True)
|
.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):
|
def surveymails_to_mail_vis_lis(self):
|
||||||
'''send survey link 2 weeks after mailadresss, mailinglist or businesscards are granted'''
|
'''send survey link 2 weeks after mailadresss, mailinglist or businesscards are granted'''
|
||||||
|
|
Loading…
Reference in New Issue