On supprime des formulaires les métadonnées non utilisateur
This commit is contained in:
parent
bfbf2cf58d
commit
bd5df0cfe2
@ -13,7 +13,7 @@ class EventForm(ModelForm):
|
|||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Event
|
model = Event
|
||||||
exclude = ["possibly_duplicated"]
|
exclude = ["possibly_duplicated", "imported_date", "modified_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