Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 602 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 602 Bytes

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.
  • Symlink 'emailreader/media/emailreader' to your [MEDIA_ROOT]/emailreader/

And you are ready to go.