email timeout setting (#184)

* add email timeout to prod settings

* 20 secs
This commit is contained in:
Esteban Castro Borsani 2017-06-21 18:27:39 -03:00 committed by GitHub
parent ad6494dff3
commit 4b53631490

View File

@ -27,6 +27,9 @@ ALLOWED_HOSTS = ['.example.com', ]
DEFAULT_FROM_EMAIL = 'webmaster@localhost' # Django default
SERVER_EMAIL = DEFAULT_FROM_EMAIL # For error notifications
# Email sending timeout
EMAIL_TIMEOUT = 20 # Default is None (infinite)
# Extend the Spirit installed apps
# Check out the .base.py file for more examples
INSTALLED_APPS.extend([