🎨 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
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ class WEIRegistrationForm(forms.ModelForm):
'placeholder': 'Nom ...', 'placeholder': 'Nom ...',
}, },
), ),
"birth_date": DatePickerInput(), "birth_date": DatePickerInput(options={'defaultDate':'2000-01-01',
'minDate':'1900-01-01',
'maxDate': '2100-01-01'}),
} }