From 32785b0459b42a07228311f59edf4bc80e26a1f1 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Fri, 3 May 2024 14:20:52 +0200 Subject: [PATCH] =?UTF-8?q?Quand=20on=20fusionne=20des=20=C3=A9v=C3=A9neme?= =?UTF-8?q?nts,=20le=20r=C3=A9sultat=20est=20publi=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agenda_culturel/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/agenda_culturel/views.py b/src/agenda_culturel/views.py index 1e934ba..e394fb0 100644 --- a/src/agenda_culturel/views.py +++ b/src/agenda_culturel/views.py @@ -1078,6 +1078,7 @@ def merge_duplicate(request, pk): # create a new event that merge the selected events new_event = Event(**new_event_data) + new_event.status = Event.STATUS.PUBLISHED new_event.set_skip_duplicate_check() new_event.save()