From 11790f02006a095cbffbcd6d7c7ff380f9075e78 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sat, 9 Nov 2024 14:43:01 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9liortion=20commentaires?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agenda_culturel/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index eeb1967..fb2cec7 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -859,7 +859,7 @@ class Event(models.Model): def save(self, *args, **kwargs): 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 ( self.pk is None and self.other_versions is None