summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-04-02 17:32:45 -0500
committerDan McGee <dan@archlinux.org>2010-04-02 17:32:45 -0500
commita52e3901c91ea95a062004f425236ba4ee60b6e7 (patch)
tree90369215e2d01a5cf2d1f9bffdb86d42c0a7193c
parente790c2b744902d6f9efee9eec5f70030f1225a27 (diff)
Fix package URL in todo list emails
Fixes FS#18935. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--todolists/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py
index 8c7c5f5a..8fb04997 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -139,7 +139,7 @@ def send_todolist_email(todo):
page_dict = {
'pkg': todo.pkg,
'todolist': todo.list,
- 'weburl': 'http://www.archlinux.org/packages/%s/' % (todo.pkg.id)
+ 'weburl': 'http://www.archlinux.org'+ pkg.get_absolute_url()
}
t = loader.get_template('todolists/addedtotodolist')
c = Context(page_dict)