mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-01-22 22:08:56 +01:00
Continuation
This commit is contained in:
parent
19c1913268
commit
073df0b03e
@ -104,8 +104,9 @@ def send_templated_mail(template_name, email_context, recipients, sender=None, b
|
|||||||
).render(context)
|
).render(context)
|
||||||
|
|
||||||
subject_part = loader.get_template_from_string(
|
subject_part = loader.get_template_from_string(
|
||||||
settings.HELPDESK_EMAIL_SUBJECT_TEMPLATE % t.subject
|
settings.HELPDESK_EMAIL_SUBJECT_TEMPLATE % {
|
||||||
).render(context)
|
"subject": t.subject,
|
||||||
|
}).render(context)
|
||||||
|
|
||||||
if isinstance(recipients,(str,unicode)):
|
if isinstance(recipients,(str,unicode)):
|
||||||
if recipients.find(','):
|
if recipients.find(','):
|
||||||
|
Loading…
Reference in New Issue
Block a user