diff sat_website/local_settings.py @ 41:1a0f24401866

send adhesion form results via email to the admins and the new member
author souliane <souliane@mailoo.org>
date Tue, 03 Feb 2015 15:15:59 +0100
parents dfe7139dae0a
children bfa8009f0769
line wrap: on
line diff
--- a/sat_website/local_settings.py	Tue Feb 03 15:14:42 2015 +0100
+++ b/sat_website/local_settings.py	Tue Feb 03 15:15:59 2015 +0100
@@ -27,6 +27,16 @@
 TEMPLATE_DEBUG = DEBUG
 
 
+# Email settings
+
+# print email to stdout instead of actually sending it
+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'),)
+
+
 # Application definition
 
 INSTALLED_APPS = (