on fait la distinction entre url affichée au public, et url servant à identifier un événement
This commit is contained in:
@@ -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(),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user