/Django-Email-Preview

A quick and dirty way to save emails on the database and view them on the admin interface. Handy if you don't have a working email setup during development.

Primary LanguagePythonOtherNOASSERTION

Django Email Preview

This is a small app to aid in the development, if you do not have a working email setup.

Using a custom EmailBackend, emails are persisted to the database, where they can be viewed on the admin interface. The admin change_form will render the email as HTML.

Setup

Quick and dirty how to:

  • Add 'emailreader' to your INSTALLED_APPS.
  • Change the email backend to point to 'emailreader.dbbackend.EmailBackend'
  • Run syncdb to crete the email table.

And you are ready to go.