skip to navigation
skip to content

Not Logged In

django-dev-email 1.0

Send all mail to a desired address during development

Latest Version: 1.0.1

django-dev-email
================

Installation
------------

    pip install django-dev-email

Add the class to your ``EMAIL_BACKEND`` setting

        EMAIL_BACKEND = 'dev_email.backends.development.EmailBackend'

Add the email address to your settings file

        DEV_EMAIL = 'yourdevaddress@whatever.com'


Suggestions, Bugs, Comments?  Open a Github issue.

Why?
----

This was developed as an alternative to having small if checks to send all mail to a development
 address.  We initially wanted to just override the ``_send`` method, but since it's marked as private,
 we decided to copy the class and rewrite the parts I needed.  We are certainly open to other ways
  and methods of implementing this.
 
File Type Py Version Uploaded on Size
django-dev-email-1.0.tar.gz (md5) Source 2012-10-10 2KB
  • Downloads (All Versions):
  • 40 downloads in the last day
  • 180 downloads in the last week
  • 361 downloads in the last month