forked from DGNum/gestioCOF
Fix date input
This commit is contained in:
parent
f990934425
commit
422e2f7b42
1 changed files with 1 additions and 0 deletions
|
@ -33,3 +33,4 @@ class ProfileForm(forms.ModelForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = BDSProfile
|
model = BDSProfile
|
||||||
exclude = ["user"]
|
exclude = ["user"]
|
||||||
|
widgets = {"birthdate": forms.DateInput(attrs={"type": "date"})}
|
||||||
|
|
Loading…
Reference in a new issue