BUGFIX: more wrong names in surveymails
This commit is contained in:
parent
be72261f5d
commit
d39fb2c87a
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ class Command(BaseCommand):
|
||||||
supported = HonoraryCertificate.objects.filter(granted=True)\
|
supported = HonoraryCertificate.objects.filter(granted=True)\
|
||||||
.filter(granted_date__lt = date.today() - timedelta(days=14))\
|
.filter(granted_date__lt = date.today() - timedelta(days=14))\
|
||||||
.exclude(survey_mail_send=True)
|
.exclude(survey_mail_send=True)
|
||||||
self.surveymails_to_object(supported, type='HON', name='request_url')
|
self.surveymails_to_object(supported, type='HON', name='project')
|
||||||
|
|
||||||
def surveymails_to_ifg(self):
|
def surveymails_to_ifg(self):
|
||||||
'''get all IFG objects which where granted two weeks ago'''
|
'''get all IFG objects which where granted two weeks ago'''
|
||||||
|
@ -127,7 +127,7 @@ class Command(BaseCommand):
|
||||||
supported = Project.objects.filter(granted=True)\
|
supported = Project.objects.filter(granted=True)\
|
||||||
.filter(end__lt = date.today() - timedelta(days=28))\
|
.filter(end__lt = date.today() - timedelta(days=28))\
|
||||||
.exclude(survey_mail_send=True)
|
.exclude(survey_mail_send=True)
|
||||||
self.surveymails_to_object(supported, type='PRO', name='realname')
|
self.surveymails_to_object(supported, type='PRO', name='name')
|
||||||
|
|
||||||
def surveymails_to_travel(self):
|
def surveymails_to_travel(self):
|
||||||
'''send survey link 3 weeks after end of project reached'''
|
'''send survey link 3 weeks after end of project reached'''
|
||||||
|
|
Loading…
Reference in a new issue