Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab
[unfold.git] / myslice / settings.py
index 262ad06..0e0bf37 100644 (file)
@@ -90,6 +90,9 @@ MANAGERS = ADMINS
 #DEFAULT_FROM_EMAIL = "root@theseus.ipv6.lip6.fr"
 #EMAIL_HOST_PASSWORD = "mypassword"
 
+if config.myslice.default_sender:
+    DEFAULT_FROM_EMAIL = config.myslice.default_sender
+
 EMAIL_HOST = "localhost"
 EMAIL_PORT = 25
 EMAIL_USE_TLS = False