on fait la distinction entre url affichée au public, et url servant à identifier un événement

This commit is contained in:
Jean-Marie Favreau
2023-12-23 13:17:14 +01:00
parent cc3ede4ed5
commit 07729353ae
5 changed files with 25 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
from django.forms import ModelForm, ValidationError, TextInput, Form, URLField
from django.forms import ModelForm, ValidationError, TextInput, Form, URLField, MultipleHiddenInput
from datetime import date
@@ -19,6 +19,7 @@ class EventForm(ModelForm):
'start_time': TextInput(attrs={'type': 'time', 'onchange': 'update_datetimes(event);', "onfocus": "this.oldvalue = this.value;"}),
'end_day': TextInput(attrs={'type': 'date'}),
'end_time': TextInput(attrs={'type': 'time'}),
'uuids': MultipleHiddenInput(),
}