diff --git a/finance/views.py b/finance/views.py index bf163bb..05be344 100644 --- a/finance/views.py +++ b/finance/views.py @@ -176,7 +176,7 @@ class InvoiceDetailView(APIView): html_content = html.render(context) msg = EmailMultiAlternatives(subject, text_content, [to], bcc=['dmitry.dolya@skillbox.ru']) - # msg.attach_alternative(html_content, "text/html") + msg.attach_alternative(html_content, "text/html") msg.send() invoice.save()