From bc147016e5fd3e878c77924315f73352114b6bb3 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sun, 19 Jan 2025 14:44:35 +0100 Subject: [PATCH] =?UTF-8?q?Le=20organisateurs=20sont=20d=C3=A9finis=20si?= =?UTF-8?q?=20on=20met=20=C3=A0=20jour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agenda_culturel/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index ab03bc8..fa43df0 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -1572,8 +1572,8 @@ class Event(models.Model): def update(self, other, all): - # do not update if all is false - if other.has_pending_organisers() and not all: + # integrate pending organisers + if other.has_pending_organisers(): self.organisers.set(other.pending_organisers) # set attributes