Browse Source

Fix #741 Adiciona configuração de EMAIL_BACKEND (#1382)

Signed-off-by: Eliseu Egewarth <eliseuegewarth@gmail.com>
pull/1383/head
Eliseu Egewarth 7 years ago
committed by Edward
parent
commit
1f41fdcfc2
  1. 5
      sapl/settings.py

5
sapl/settings.py

@ -39,7 +39,10 @@ ALLOWED_HOSTS = ['*']
LOGIN_REDIRECT_URL = '/' LOGIN_REDIRECT_URL = '/'
LOGIN_URL = '/login/?next=' LOGIN_URL = '/login/?next='
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' if DEBUG:
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
else:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
# SAPL business apps in dependency order # SAPL business apps in dependency order

Loading…
Cancel
Save