![]() System check identified no issues (0 silenced). However, when I send an email (through a TestCase), I get a bunch of WARNINGs and ERRORs (of which I've included a subset below): (venv) Kurts-MacBook-Pro-2:lucy-web kurtpeek$ python manage.py test Ĭreating test database for alias 'default'. Reply_to=)Įmail.attach_alternative(message_html, "text/html") Message_html = transform(render_to_string('emails/activate_to_delivery.html', context)) Here is the code snippet where I'm sending the email: from premailer import transformįrom django.mail import EmailMultiAlternatives I'm trying to get this into an email using premailer. When I hook it up to a view (passing in some dummy context), here is how it looks: ![]() ![]() * Make the table more compact vertically */ * Use Materialize's default light blue color for card-action links (instead of an orange one) */ * Use the same logo size and positioning as in the eBay email to families */ I'm trying to create an email template in Django which uses Materialize.css.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |