summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/devel/index.html2
-rw-r--r--templates/todolists/list.html2
2 files changed, 2 insertions, 2 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>
diff --git a/templates/todolists/list.html b/templates/todolists/list.html
index e4b426bb..95eb3ee8 100644
--- a/templates/todolists/list.html
+++ b/templates/todolists/list.html
@@ -25,7 +25,7 @@
<tbody>
{% for list in lists %}
<tr class="{% cycle 'odd' 'even' %}">
- <td><a href="/todo/{{ list.id }}/"
+ <td><a href="{{ list.get_absolute_url }}/"
title="View todo list: {{ list.name }}">{{ list.name }}</a></td>
<td>{{ list.date_added }}</td>
<td>{{ list.creator.get_full_name }}</td>