Allow end of feeding to be in the future

This commit is contained in:
Marco H 2022-04-16 13:39:57 +02:00 committed by Christopher Charbonneau Wells
parent 379f9b1e86
commit 603a429c13
1 changed files with 0 additions and 1 deletions

View File

@ -346,7 +346,6 @@ class Feeding(models.Model):
def clean(self):
validate_time(self.start, "start")
validate_time(self.end, "end")
validate_duration(self)
validate_unique_period(Feeding.objects.filter(child=self.child), self)