team is called Sponsors
This commit is contained in:
parent
9cac6bd8bc
commit
95f8b2b87d
|
@ -25,7 +25,9 @@ def add_sponsorticket_email(ticket):
|
||||||
with open(os.path.join(settings.PDF_ARCHIVE_PATH, filename), "rb") as f:
|
with open(os.path.join(settings.PDF_ARCHIVE_PATH, filename), "rb") as f:
|
||||||
# add email to outgoing email queue
|
# add email to outgoing email queue
|
||||||
return add_outgoing_email(
|
return add_outgoing_email(
|
||||||
responsible_team=Team.objects.get(camp=ticket.sponsor.camp, name="Sponsor"),
|
responsible_team=Team.objects.get(
|
||||||
|
camp=ticket.sponsor.camp, name="Sponsors"
|
||||||
|
),
|
||||||
text_template="emails/sponsorticket_email.txt",
|
text_template="emails/sponsorticket_email.txt",
|
||||||
html_template="emails/sponsorticket_email.html",
|
html_template="emails/sponsorticket_email.html",
|
||||||
to_recipients=ticket.sponsor.ticket_email,
|
to_recipients=ticket.sponsor.ticket_email,
|
||||||
|
|
Loading…
Reference in a new issue