I have a input type Date field using below code.
# forms.py
widgets = {
'date_of_birth': forms.DateInput(attrs={'type': 'date'})
}
I am using below code in HTML Template.
<label class="form-label">Date of Birth</label>
{{ form.date_of_birth }}
I am getting mm/dd/yy format but I would like to get dd/mm/yy format.
I am getting this output.