From 8e8ab04a04fe0dff62b73d9573521fc2b80ec883 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sun, 21 Apr 2024 17:04:48 +0200 Subject: [PATCH] =?UTF-8?q?on=20ne=20donne=20pas=20=C3=A0=20=C3=A9diter=20?= =?UTF-8?q?moderated=5Fdate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agenda_culturel/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agenda_culturel/forms.py b/src/agenda_culturel/forms.py index f6fe7d4..4d5a8bb 100644 --- a/src/agenda_culturel/forms.py +++ b/src/agenda_culturel/forms.py @@ -42,7 +42,7 @@ class EventForm(ModelForm): class Meta: model = Event - exclude = ["possibly_duplicated", "imported_date", "modified_date"] + exclude = ["possibly_duplicated", "imported_date", "modified_date", "moderated_date"] widgets = { 'start_day': TextInput(attrs={'type': 'date', 'onchange': 'update_datetimes(event);', "onfocus": "this.oldvalue = this.value;"}), 'start_time': TextInput(attrs={'type': 'time', 'onchange': 'update_datetimes(event);', "onfocus": "this.oldvalue = this.value;"}),