Browse Source

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

master
Benni Baermann 3 years ago
parent
commit
be72261f5d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      input/management/commands/sendmails.py

+ 1
- 1
input/management/commands/sendmails.py View File

@ -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…
Cancel
Save