summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/utils.py
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2011-04-14 11:25:47 +0800
committerJeremy Kerr <jk@ozlabs.org>2011-04-14 17:24:31 +0800
commit017f73b059aadfce30ee29d2aceeab92739105a6 (patch)
tree54e00613f7bf15ad2ec93ea124fc4119c7bb23ad /apps/patchwork/utils.py
parentf94d40159168d0811de576328b77fd2a553039af (diff)
downloadpatchwork-017f73b059aadfce30ee29d2aceeab92739105a6.tar.bz2
patchwork-017f73b059aadfce30ee29d2aceeab92739105a6.tar.xz
notifications: Add NOTIFICATION_FROM_EMAIL setting
Allow a separate From: address for notificaton emails. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork/utils.py')
-rw-r--r--apps/patchwork/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/patchwork/utils.py b/apps/patchwork/utils.py
index 94b3f53..58edb19 100644
--- a/apps/patchwork/utils.py
+++ b/apps/patchwork/utils.py
@@ -181,7 +181,7 @@ def send_notifications():
context)
message = EmailMessage(subject = subject, body = content,
- from_email = settings.DEFAULT_FROM_EMAIL,
+ from_email = settings.NOTIFICATION_FROM_EMAIL,
to = [recipient.email],
headers = {'Precedence': 'bulk'})