Par défaut un événement cloné est public

This commit is contained in:
Jean-Marie Favreau 2024-11-11 15:33:42 +01:00
parent decfce4247
commit 4541366af1

View File

@ -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