I used DateTime Field to format the date, but doesn't seem to work, what could be the isssue, below is my code :
from django.conf.locale.de import formats as de_formats
de_formats.DATE_FORMAT = 'd.m.Y'
This is the model :
contract_signed_on = models.DateField(
_('Contract signed on'), null=True, blank=True)
I want the date format to be like this :
04.3.2022
but it's not showing the exact format