def clean(self):
if self.arrival_date > self.departure_date:
raise ValidationError("Arrival date can't be later than departure date.")
def save(self, *args, **kwargs):
if self.arrival_date > self.departure_date:
return super(Model, self).clean()
return super().save(*args, **kwargs)