Trey Hunner

Python & Django on-site team training

Hire Me For Training

Log all outgoing emails in Django

| Comments

Ever needed to determine whether an email was sent from a Django project? I made a Django application that does exactly that: django-email-log.

I got the idea from a StackOverflow answer and I decided to make a real application out of it. All emails are stored in a single model which can easily be viewed, searched, sorted, and filtered from the admin site.

I used test-driven development when making the app and I baked in Python 3 support from the beginning. I found the process of TDD for a standalone Python package fairly easy and enjoyable.

Comments

Write more Pythonic code

I send out 1 Python exercise every week through a Python skill-building service called Python Morsels.

If you’d like to improve your Python skills every week, sign up!

Read my short Privacy Policy and then enter your email below to get started: