on ne donne pas à éditer moderated_date
This commit is contained in:
parent
0329e9f37b
commit
8e8ab04a04
@ -42,7 +42,7 @@ class EventForm(ModelForm):
|
|||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Event
|
model = Event
|
||||||
exclude = ["possibly_duplicated", "imported_date", "modified_date"]
|
exclude = ["possibly_duplicated", "imported_date", "modified_date", "moderated_date"]
|
||||||
widgets = {
|
widgets = {
|
||||||
'start_day': TextInput(attrs={'type': 'date', 'onchange': 'update_datetimes(event);', "onfocus": "this.oldvalue = this.value;"}),
|
'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;"}),
|
'start_time': TextInput(attrs={'type': 'time', 'onchange': 'update_datetimes(event);', "onfocus": "this.oldvalue = this.value;"}),
|
||||||
|
Loading…
Reference in New Issue
Block a user