def save(self, *args, **kwargs): self.validation_mandatory_dates() self.validation_start_end_dates() super(AcademicCalendar, self).save(*args, **kwargs) compute_all_scores_encodings_deadlines.send(sender=self.__class__, academic_calendar=self)
def save(self, *args, **kwargs): self.validation_mandatory_dates() self.validation_start_end_dates() super().save(*args, **kwargs) compute_all_scores_encodings_deadlines.send(sender=self.__class__, academic_calendar=self)