zapier/django-drip — pull request #35 by akoumjian (2013-11-14 19:59:17+00:00)
Title: add support for text/plain emails in live preview

If EmailMultiAlternatives doesn't detect html in the template, it message.alternatives will be an empty list. If this is the case, we just grab the content of the body and preview it as plaintext.