diff 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
line wrap: on
line diff
--- a/sat_website/local_settings.py	Sat May 16 10:13:52 2015 +0200
+++ b/sat_website/local_settings.py	Sat May 16 17:28:19 2015 +0200
@@ -30,11 +30,10 @@
 # Email settings
 
 # print email to stdout instead of actually sending it
-EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
+# EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
 
-DEFAULT_FROM_EMAIL = u'contact@salut-a-toi.org'
-
-ADMINS = ((u'Salut à Toi', 'contact@salut-a-toi.org'),)
+FORM_FROM_EMAIL = 'no-reply@example.net'
+FORM_TO_EMAIL = ['email@example.net']
 
 
 # Application definition