mirror of https://gitlab.crans.org/bde/nk20
🎨 set default birthday to 2001-01-01
This commit is contained in:
parent
18eaf4477e
commit
963ba05d01
|
@ -39,7 +39,9 @@ class WEIRegistrationForm(forms.ModelForm):
|
|||
'placeholder': 'Nom ...',
|
||||
},
|
||||
),
|
||||
"birth_date": DatePickerInput(),
|
||||
"birth_date": DatePickerInput(options={'defaultDate':'2000-01-01',
|
||||
'minDate':'1900-01-01',
|
||||
'maxDate': '2100-01-01'}),
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue