I can not change the Django configuration so the date format is set to 'd / m / Y'. In the validation of the form, if you inform 22/12/1980, the form is invalid. By informing 12/22/1980 the date field is valid and I can save the record.
I've tried changing the following settings:
settings.py
LANGUAGE_CODE = 'pt-br'
USE_L10N = False
In the class, the attribute is defined as:
data_nascimento = models.DateField(null=False)
Is there any further configuration so that I can change the date format from 'm / d / Y' to 'd / m / Y'?