From daf4ab1eeb788aa65e74b6731da249c9220c8e28 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sun, 10 Nov 2024 21:27:45 +0100 Subject: [PATCH] =?UTF-8?q?Un=20=C3=A9v=C3=A9nement=20non=20publi=C3=A9=20?= =?UTF-8?q?n'est=20pas=20re-publi=C3=A9=20=C3=A0=20la=20mise=20=C3=A0=20jo?= =?UTF-8?q?ur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agenda_culturel/models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index e7cbe87..ba12471 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -1180,10 +1180,6 @@ class Event(models.Model): if other.modified_date and self.modified_date < other.modified_date: self.modified_date = other.modified_date - # set status according to the input status - if other.status is not None: - self.status = other.status - # add a possible missing uuid if self.uuids is None: self.uuids = []