Use console email backend during development
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -9,6 +9,9 @@ DEBUG = True
|
|||||||
CELERY_ALWAYS_EAGER = True
|
CELERY_ALWAYS_EAGER = True
|
||||||
CELERY_EAGER_PROPAGATES_EXCEPTIONS = CELERY_ALWAYS_EAGER
|
CELERY_EAGER_PROPAGATES_EXCEPTIONS = CELERY_ALWAYS_EAGER
|
||||||
|
|
||||||
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||||
|
|
||||||
|
|
||||||
if 'rosetta' not in INSTALLED_APPS:
|
if 'rosetta' not in INSTALLED_APPS:
|
||||||
try:
|
try:
|
||||||
import rosetta
|
import rosetta
|
||||||
|
|||||||
Reference in New Issue
Block a user