diff options
-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 |