From 102e3ccde38c0564c08686001660fdc38d1f835a Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 21 Apr 2019 02:11:35 -0400 Subject: [PATCH] Use console email backend during development Signed-off-by: Roberto Rosario --- mayan/settings/development.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mayan/settings/development.py b/mayan/settings/development.py index 193270208d..77961253a9 100644 --- a/mayan/settings/development.py +++ b/mayan/settings/development.py @@ -9,6 +9,9 @@ DEBUG = True CELERY_ALWAYS_EAGER = True CELERY_EAGER_PROPAGATES_EXCEPTIONS = CELERY_ALWAYS_EAGER +EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' + + if 'rosetta' not in INSTALLED_APPS: try: import rosetta