From 4541366af1bf2e8b0c5ef5dacdcf0a8ce2e9f7a3 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Mon, 11 Nov 2024 15:33:42 +0100 Subject: [PATCH] =?UTF-8?q?Par=20d=C3=A9faut=20un=20=C3=A9v=C3=A9nement=20?= =?UTF-8?q?clon=C3=A9=20est=20public?= 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 6e8f1fa..e53a52e 100644 --- a/src/agenda_culturel/views.py +++ b/src/agenda_culturel/views.py @@ -583,6 +583,7 @@ class EventUpdateView( obj.set_no_modification_date_changed() obj.save() result["other_versions"] = obj.other_versions + result["status"] = Event.STATUS.PUBLISHED if obj.local_image: result["old_local_image"] = obj.local_image.name