diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-08-05 23:59:03 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-08-05 23:59:03 -0600 |
commit | d4731a373ca665d4547eb0e89cdf270d41c44243 (patch) | |
tree | 41dbfb57e5f6745ad6ac3acd5de8c4d9788c950c /todolists/models.py | |
parent | c8d979b8a48805d162ab46cdc4e493da0aa1595c (diff) | |
parent | 803ba89841468bcf088ea79ea981a849ca159682 (diff) |
Merge branch 'archweb' into archweb-generic
Diffstat (limited to 'todolists/models.py')
-rw-r--r-- | todolists/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/todolists/models.py b/todolists/models.py index 59b14616..92ca5839 100644 --- a/todolists/models.py +++ b/todolists/models.py @@ -35,6 +35,10 @@ class Todolist(models.Model): def __unicode__(self): return self.name + @property + def stripped_description(self): + return self.description.strip() + def get_absolute_url(self): return '/todo/%s/' % self.slug |