bradwhittington/django-templated-email — pull request #17 by yesimon (2012-06-26 20:07:01+00:00)
Title: Refactor for get_email_message() / get_templated_mail()

This is a refactor after the discussion in #16.

Lots of fixes for more standards compliance.
- Default function arguments changed to None instead of mutable types.
- Add get_email_message() for returning EmailMessage instances.
- Some fixes for PEP8, although not entirely PEP8 compliant yet.

``get_email_message()`` and ``get_templated_mail()`` have different function signatures to be closer to django's ``EmailMessage``.