Changeset - 139b9ea8d064
[Not reviewed]
0 2 0
Christopher Neugebauer - 6 years ago 2017-11-25 00:00:12
chrisjrn@gmail.com
Use django email log
2 files changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/settings.py
Show inline comments
...
 
@@ -230,4 +230,6 @@ INSTALLED_APPS = [
 
    # stylesheets and js
 
    'compressor',
 

	
 
    'email_log',
 
]
 

	
...
 
@@ -271,5 +273,6 @@ FIXTURE_DIRS = [
 
# Heroku: Get email configuration from environment variables.
 

	
 
EMAIL_BACKEND = os.environ.get("DJANGO_EMAIL_BACKEND", "django.core.mail.backends.console.EmailBackend")  # noqa
 
EMAIL_BACKEND = "email_log.backends.EmailBackend"
 
EMAIL_LOG_BACKEND = os.environ.get("DJANGO_EMAIL_BACKEND", "django.core.mail.backends.console.EmailBackend")  # noqa
 
EMAIL_HOST = os.environ.get("DJANGO_EMAIL_HOST", "")
 
EMAIL_PORT = int(os.environ.get("DJANGO_EMAIL_PORT", 25))
requirements/base.txt
Show inline comments
...
 
@@ -19,5 +19,5 @@ django-timezone-field==2.0
 
django-model-utils==3.0.0
 
wiki==0.3b3
 

	
 
django-email-log==0.2.0
 

	
 
# For testing
0 comments (0 inline, 0 general)