Améliortion commentaires

This commit is contained in:
Jean-Marie Favreau 2024-11-09 14:43:01 +01:00
parent defb6ccfad
commit 11790f0200

View File

@ -859,7 +859,7 @@ class Event(models.Model):
def save(self, *args, **kwargs): def save(self, *args, **kwargs):
self.prepare_save() self.prepare_save()
# check for similar events if no duplicated is known only if the event is created # check for similar events if no duplicated is known and only if the event is created
if ( if (
self.pk is None self.pk is None
and self.other_versions is None and self.other_versions is None