From a52e3901c91ea95a062004f425236ba4ee60b6e7 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 2 Apr 2010 17:32:45 -0500 Subject: Fix package URL in todo list emails Fixes FS#18935. Signed-off-by: Dan McGee --- todolists/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'todolists') diff --git a/todolists/views.py b/todolists/views.py index 8c7c5f5..8fb0499 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) -- cgit v1.2.3-24-g4f1b