summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-05-21 15:48:32 -0500
committerDan McGee <dan@archlinux.org>2010-05-21 15:48:32 -0500
commitd797eac372121b435841c23d64f06c06a04d4c6f (patch)
tree56bdbdaa09acf9ffdb30158168b8fc2f28036ebb /todolists
parentcabfd7487d2cf627d46837311bf0833b17b31bb4 (diff)
Fix undefined variable issue
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py
index 8fb04997..f9024eb9 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'+ pkg.get_absolute_url()
+ 'weburl': 'http://www.archlinux.org'+ todo.pkg.get_absolute_url()
}
t = loader.get_template('todolists/addedtotodolist')
c = Context(page_dict)