summaryrefslogtreecommitdiff
path: root/templates/devel/index.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-05 22:20:28 -0500
committerDan McGee <dan@archlinux.org>2010-07-05 22:20:28 -0500
commitcb9c74eff8f7c3469cc5e84477074c138ed555df (patch)
tree75c9e6960f03f2289fe2324eb03557cc3542e5b7 /templates/devel/index.html
parent41a5d1d5667dd2fe7cde64323f18252e0b94542e (diff)
Add absolute URL method for todo lists
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel/index.html')
-rw-r--r--templates/devel/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 25429ecf..d2dd155d 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -24,7 +24,7 @@
<tbody>
{% for todo in todos %}
<tr class="{% cycle 'odd' 'even' %}">
- <td class="key"><a href="/todo/{{ todo.id }}/"
+ <td class="key"><a href="{{ todo.get_absolute_url }}/"
title="View todo list: {{ todo.name }}">{{ todo.name }}</a></td>
<td>{{ todo.date_added }}</td>
<td>{{ todo.description }}</td>