diff options
Diffstat (limited to 'todolists/models.py')
-rw-r--r-- | todolists/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/models.py b/todolists/models.py index a6dda2a..76af0d3 100644 --- a/todolists/models.py +++ b/todolists/models.py @@ -35,7 +35,7 @@ class Todolist(models.Model): return self.name def get_absolute_url(self): - return '/todo/%i/' % self.old_id + return '/todo/%s/' % self.slug def get_full_url(self, proto='https'): '''get a URL suitable for things like email including the domain''' |