diff --git a/aleksis/apps/chronos/models.py b/aleksis/apps/chronos/models.py index d2dc9fa1b3097d50b38cfa24dcc77895e96480e9..427f3ca4f890bcb27c8ed19f9de5ded46566d2cc 100644 --- a/aleksis/apps/chronos/models.py +++ b/aleksis/apps/chronos/models.py @@ -509,15 +509,6 @@ class LessonSubstitution(ExtensibleModel): if self.subject and self.cancelled: raise ValidationError(_("Lessons can only be either substituted or cancelled.")) - @property - def type_(self): - if self.cancelled: - return "cancellation" - elif self.cancelled_for_teachers: - return "cancellation_for_teachers" - else: - return "substitution" - @property def date(self): week = CalendarWeek(week=self.week)