summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-02 10:44:02 -0500
committerDan McGee <dan@archlinux.org>2010-06-02 10:44:02 -0500
commit32f6f7a4daeb7941c2a94d40677f9780b5a65654 (patch)
tree836a6b1d51f4ede50b9af9d88906282f04e1bdf2
parentf4fd8ceea1ede5fee8cbb2a53769f1f212ddc5f8 (diff)
Rename todolist email template
More in line with our other templates that have .txt extensions. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/todolists/email_notification.txt (renamed from templates/todolists/addedtotodolist)0
-rw-r--r--todolists/views.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/templates/todolists/addedtotodolist b/templates/todolists/email_notification.txt
index 24fded59..24fded59 100644
--- a/templates/todolists/addedtotodolist
+++ b/templates/todolists/email_notification.txt
diff --git a/todolists/views.py b/todolists/views.py
index f9024eb9..155e522b 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -141,7 +141,7 @@ def send_todolist_email(todo):
'todolist': todo.list,
'weburl': 'http://www.archlinux.org'+ todo.pkg.get_absolute_url()
}
- t = loader.get_template('todolists/addedtotodolist')
+ t = loader.get_template('todolists/email_notification.txt')
c = Context(page_dict)
send_mail('arch: Package [%s] added to Todolist' % todo.pkg.pkgname,
t.render(c),