コード例 #1
0
def email_reports():
    """
    6th business day of the month @ 3pm
    """
    for contact in get_district_people():
        if contact.email:
            email_report.delay(contact.supply_point.code, [contact.email])
    for report in AdHocReport.objects.all():
        report.send()
コード例 #2
0
ファイル: reports.py プロジェクト: andile2012/logistics
def email_reports():    
    """
    6th business day of the month @ 3pm
    """
    for contact in get_district_people():
        if contact.email:
            email_report.delay(contact.supply_point.code, [contact.email])
    for report in AdHocReport.objects.all():
        report.send()
                
コード例 #3
0
ファイル: models.py プロジェクト: dslowikowski/logistics
 def send(self):
     email_report.delay(self.supply_point.code, self.get_recipients())
コード例 #4
0
ファイル: models.py プロジェクト: andile2012/logistics
 def send(self):
     email_report.delay(self.supply_point.code, self.get_recipients())