Fix Tummy Time display fields.

This commit is contained in:
Christopher Charbonneau Wells 2017-09-08 18:03:44 -04:00
parent 9767315878
commit b317c08504
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class TummyTime(models.Model):
def __str__(self):
return 'Tummy time for {} on {} ({})'.format(
self.child, self.end.date(), self.duration())
self.child, self.end.date(), self.duration)
def duration_td(self):
return self.end - self.start