This is the form:
from django.forms.extras.widgets import SelectDateWidget
class EntryForm(forms.ModelForm):
class Meta():
model = Entry
def __init__(self, *args, **kwargs):
super(EntryForm, self).__init__(*args, **kwargs)
this_year = datetime.date.today().year
years = range(this_year-100, this_year+1)
years.reverse()
self.fields["date_of_birth"].widget = SelectDateWidget(years=years)
The date of birth field is rendered like so

How do I change it so that it will render as day, month, year?
From the source code of this widget I see the the order of dropdowns is defined by
DATE_FORMATsetting:Try to change
DATE_FORMATin settings.py toj N, Yfor example.