summaryrefslogtreecommitdiff
path: root/todolists/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'todolists/models.py')
-rw-r--r--todolists/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/models.py b/todolists/models.py
index c38c564e..d19ad92d 100644
--- a/todolists/models.py
+++ b/todolists/models.py
@@ -34,7 +34,7 @@ class Todolist(models.Model):
return self.name
def get_absolute_url(self):
- return '/todo/%i/' % self.id
+ return '/todo/%i/' % self.old_id
def get_full_url(self, proto='https'):
'''get a URL suitable for things like email including the domain'''