summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradityacp2017-05-04 16:37:03 +0530
committeradityacp2017-05-04 16:37:03 +0530
commitd7e6430d8c48381c6660906ab3a96251824f9031 (patch)
treefc9c53f7cd44f7ed54162be64ffce900147542d8
parent7e8f9ce4e2a04d813f022cf3677dfcd78a7f94c5 (diff)
downloadonline_test-d7e6430d8c48381c6660906ab3a96251824f9031.tar.gz
online_test-d7e6430d8c48381c6660906ab3a96251824f9031.tar.bz2
online_test-d7e6430d8c48381c6660906ab3a96251824f9031.zip
Set EMAIL_BACKEND to dummy email backend for development
-rw-r--r--online_test/settings.py4
1 files changed, 4 insertions, 0 deletions
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