From 2ff967c3d9433361b1f086c326f3a473f10373e3 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 28 Dec 2012 09:22:23 -0600 Subject: Todolist URLs map to old_id now, not id This is a short-term fix before adding a slug field to todo lists as we did to news a while back. Signed-off-by: Dan McGee --- todolists/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'todolists/models.py') diff --git a/todolists/models.py b/todolists/models.py index c38c564..d19ad92 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''' -- cgit v1.2.3-24-g4f1b