diff options
author | adityacp | 2017-05-04 16:37:03 +0530 |
---|---|---|
committer | adityacp | 2017-05-04 16:37:03 +0530 |
commit | d7e6430d8c48381c6660906ab3a96251824f9031 (patch) | |
tree | fc9c53f7cd44f7ed54162be64ffce900147542d8 | |
parent | 7e8f9ce4e2a04d813f022cf3677dfcd78a7f94c5 (diff) | |
download | online_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.py | 4 |
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 |