mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 13:04:05 +03:00
Use the console.EmailBackend to avoid error: [Errno 61] Connection refused when trying to send email to a non-existent local SMTP server
This commit is contained in:
parent
9346ffe802
commit
057821303f
|
@ -257,8 +257,7 @@ class Local(Common):
|
|||
########## END INSTALLED_APPS
|
||||
|
||||
########## Mail settings
|
||||
EMAIL_HOST = "localhost"
|
||||
EMAIL_PORT = 1025
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
########## End mail settings
|
||||
|
||||
########## django-debug-toolbar
|
||||
|
|
Loading…
Reference in New Issue
Block a user