[PATCH] settings: Add console email backend

Stephen Finucane stephen.finucane at intel.com
Sun Nov 22 05:03:09 AEDT 2015


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 at intel.com>
---
 patchwork/settings/dev.py | 4 ++++
 1 file changed, 4 insertions(+)

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
 #
-- 
2.0.0



More information about the Patchwork mailing list