|
@ -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''' |
|
|