I need to display the form in a different format => "%d%m%Y". I tried everything but nothing works.
In my forms.py
class DateInput(forms.DateInput):
input_type = 'date'
class VendaForm(forms.ModelForm):
class Meta():
model = Venda
exclude = ['acertado', 'status', 'viagem', 'paid',]
widgets = {
'sale_date': DateInput(),
'expiration_date': DateInput(),
}