1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-22 15:32:22 +00:00

🎨 set default birthday to 2001-01-01

This commit is contained in:
Pierre-antoine Comby 2020-08-08 16:20:59 +02:00
parent 18eaf4477e
commit 963ba05d01

View File

@ -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'}),
}