remove Schedule.end property + fix templates + add accessibility info

This commit is contained in:
bkfox
2018-02-12 00:34:08 +01:00
parent 9ce2fd228b
commit 9b284c34b3
2 changed files with 13 additions and 10 deletions

View File

@ -578,10 +578,6 @@ class Schedule(models.Model):
}
return before == now
@property
def end(self):
return self.time + utils.to_timedelta(self.duration)
def match(self, date = None, check_time = True):
"""
Return True if the given datetime matches the schedule