🎨 set default birthday to 2001-01-01
This commit is contained in:
parent
18eaf4477e
commit
963ba05d01
1 changed files with 3 additions and 1 deletions
|
|
@ -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'}),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue