Correction fonction

This commit is contained in:
Jean-Marie Favreau 2025-02-13 23:18:44 +01:00
parent c2b6512895
commit 2547e2f082

View File

@ -654,7 +654,7 @@ class EventCreateView(SuccessMessageMixin, CreateView):
if form.cleaned_data.get("email") or form.cleaned_data.get("comments"):
has_comments = not form.cleaned_data.get("comments") in ["", None]
form.instance.set_message(
form.instance.add_message(
Message(subject=_('during the creation process'),
message=form.cleaned_data.get("comments"),
email=form.cleaned_data.get("email"),