Skip to content

Commit

Permalink
Fix: save template even if not rendered on delivery (ui#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscobmacedo committed Jul 13, 2022
1 parent 3eb2836 commit a0a99da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion post_office/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ def create(sender, recipients=None, cc=None, bcc=None, subject='', message='',
expires_at=expires_at,
message_id=message_id,
headers=headers, priority=priority, status=status,
backend_alias=backend
backend_alias=backend,
template=template,
)

if commit:
Expand Down

0 comments on commit a0a99da

Please sign in to comment.