summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-20 00:24:47 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-20 00:24:47 -0400
commit7ca9ecb2d430047243c0ff14a32d534965136844 (patch)
treec5a651d5b27f787b02821c721a99f753062eed81 /todolists
parent55b52a92806e4e76b1db17178f323362e3ddfe09 (diff)
todolist/views.py: use settings.BRANDING_EMAIL
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py
index e5cc0823..379189ab 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -1,6 +1,7 @@
from django import forms
from django.http import HttpResponse
+from django.conf import settings
from django.core.mail import send_mail
from django.shortcuts import get_list_or_404, get_object_or_404, redirect
from django.contrib.auth.decorators import login_required, permission_required
@@ -174,7 +175,7 @@ def send_todolist_emails(todo_list, new_packages):
template = loader.get_template('todolists/email_notification.txt')
send_mail('Packages added to todo list \'%s\'' % todo_list.name,
template.render(ctx),
- 'Arch Website Notification <nobody@archlinux.org>',
+ settings.BRANDING_EMAIL,
[maint],
fail_silently=True)