Creating email templates with Django

I want to send HTML-emails, using Django templates like this: <html> <body> hello <strong>{{username}}</strong> your account activated. <img src=”https://stackoverflow.com/questions/2809547/mysite.com/logo.gif” /> </body> I can’t find anything about send_mail, and django-mailer only sends HTML templates, without dynamic data. How do I use Django’s template engine to generate e-mails? 12 Answers 12

RuntimeWarning: DateTimeField received a naive datetime

I m trying to send a simple mail using IPython. I have not set up any models still getting this error. What can be done? Error : /home/sourabh/Django/learn/local/lib/python2.7/site-packages/django/db/models/fields/init.py:827: RuntimeWarning: DateTimeField received a naive datetime (2013-09-04 14:14:13.698105) while time zone support is active. RuntimeWarning) Tried : The first step is to add USE_TZ = True to … Read more