コード例 #1
0
def send_acknowledgement_notification(acknowledgement):
    subject = _("%s has acknowledged you on Villages.cc") % (
        acknowledgement.payer)
    send_notification(subject, acknowledgement.payer,
                      acknowledgement.recipient,
                      'acknowledgement_notification_email.txt',
                      {'acknowledgement': acknowledgement})
コード例 #2
0
ファイル: views.py プロジェクト: mpants/villagescc
def send_endorsement_notification(endorsement):
    subject = "%s has endorsed you on Villages.cc" % endorsement.endorser
    send_notification(subject, endorsement.endorser, endorsement.recipient,
                      'endorsement_notification_email.txt',
                      {'endorsement': endorsement})
コード例 #3
0
ファイル: views.py プロジェクト: mpants/villagescc
def send_acknowledgement_notification(acknowledgement):
    subject = "%s has acknowledged you on Villages.cc" % (
        acknowledgement.payer)
    send_notification(subject, acknowledgement.payer, acknowledgement.recipient,
                      'acknowledgement_notification_email.txt',
                      {'acknowledgement': acknowledgement})
コード例 #4
0
def send_endorsement_notification(endorsement):
    subject = _("%s has endorsed you on Villages.cc") % endorsement.endorser
    send_notification(subject, endorsement.endorser, endorsement.recipient,
                      'endorsement_notification_email.txt',
                      {'endorsement': endorsement})