diff --git a/src/core/pyros_django/scheduling/models.py b/src/core/pyros_django/scheduling/models.py index 19960d8..7c8ddd3 100644 --- a/src/core/pyros_django/scheduling/models.py +++ b/src/core/pyros_django/scheduling/models.py @@ -39,7 +39,7 @@ class PredictiveSchedule(models.Model): # Transform numpy matrix to JSON scheduler_matrix_as_json = json.dumps(self.scheduler_matrix, cls=NumpyArrayEncoder) self.scheduler_matrix = scheduler_matrix_as_json - super(EffectiveSchedule, self).save(*args, **kwargs) + super(PredictiveSchedule, self).save(*args, **kwargs) def get(self, *args, **kwargs): # Transform JSON to numpy matrix @@ -50,5 +50,5 @@ class PredictiveSchedule(models.Model): class SchedulerHistory(EffectiveSchedule): - night_date = models.DateField(blank=True, null=True) + night_datetime = models.DateTimeField(blank=True, null=True) \ No newline at end of file -- libgit2 0.21.2