diff mbox

settings: Add console email backend

Message ID 1448128989-3763-1-git-send-email-stephen.finucane@intel.com
State Accepted
Headers show

Commit Message

Stephen Finucane Nov. 21, 2015, 6:03 p.m. UTC
Requiring configuration of an email server and email recipients for
debugging of email-based features is impractical. Use the console
backend provided by Django as the development default.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
---
 patchwork/settings/dev.py | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Stephen Finucane Nov. 21, 2015, 6:06 p.m. UTC | #1
On 21 Nov 18:03, Stephen Finucane wrote:
> Requiring configuration of an email server and email recipients for
> debugging of email-based features is impractical. Use the console
> backend provided by Django as the development default.
> 
> Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>

Obvious, Django-provided fix that was necessary to test Bernhard's
password reset change. Merged.
diff mbox

Patch

diff --git a/patchwork/settings/dev.py b/patchwork/settings/dev.py
index 0f73a13..b4c0e58 100644
--- a/patchwork/settings/dev.py
+++ b/patchwork/settings/dev.py
@@ -51,6 +51,10 @@  else:
         'CHARSET': 'utf8',
     }
 
+# Email
+
+EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
+
 #
 # Patchwork settings
 #