In Admin , my application shows the date by changed_listview on January 19, 2017. How do I display the date in the form DD/MM/AAAA
?
In Admin , my application shows the date by changed_listview on January 19, 2017. How do I display the date in the form DD/MM/AAAA
?
One way to do this would be by using the following in your settings.py
:
from django.conf.locale.pt_BR import formats as br_formats
br_formats.DATE_FORMAT = 'd/m/Y'
It is within this file that you will find how to format the date formats. To get a better look, check out the link .