From d7e6430d8c48381c6660906ab3a96251824f9031 Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 4 May 2017 16:37:03 +0530 Subject: Set EMAIL_BACKEND to dummy email backend for development --- online_test/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/online_test/settings.py b/online_test/settings.py index 8d0613b..26449d4 100644 --- a/online_test/settings.py +++ b/online_test/settings.py @@ -113,6 +113,10 @@ EMAIL_HOST_USER = 'email_host_user' EMAIL_HOST_PASSWORD = 'email_host_password' + +# Set EMAIL_BACKEND to 'django.core.mail.backends.smtp.EmailBackend' in production +EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend' + # SENDER_EMAIL, REPLY_EMAIL, PRODUCTION_URL, IS_DEVELOPMENT are used in email # verification. Set the variables accordingly to avoid errors in production -- cgit