Mercurial > sat_legacy_website
comparison sat_website/local_settings.py @ 65:26353615cc2e
fixed email sending in form
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 16 May 2015 17:28:19 +0200 |
parents | c902ce09d4ed |
children | 64977f537e9b |
comparison
equal
deleted
inserted
replaced
64:1fb1e233d63f | 65:26353615cc2e |
---|---|
28 | 28 |
29 | 29 |
30 # Email settings | 30 # Email settings |
31 | 31 |
32 # print email to stdout instead of actually sending it | 32 # print email to stdout instead of actually sending it |
33 EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' | 33 # EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' |
34 | 34 |
35 DEFAULT_FROM_EMAIL = u'contact@salut-a-toi.org' | 35 FORM_FROM_EMAIL = 'no-reply@example.net' |
36 | 36 FORM_TO_EMAIL = ['email@example.net'] |
37 ADMINS = ((u'Salut à Toi', 'contact@salut-a-toi.org'),) | |
38 | 37 |
39 | 38 |
40 # Application definition | 39 # Application definition |
41 | 40 |
42 INSTALLED_APPS = ( | 41 INSTALLED_APPS = ( |