The getFormat function has access to the configured i18n formatting settings and can retrieve the format string for a given setting name.
https://docs.djangoproject.com/en/stable/topics/i18n/translation/#get-format
get_format('DATE_FORMAT');// 'N j, Y' Copy
get_format('DATE_FORMAT');// 'N j, Y'
The getFormat function has access to the configured i18n formatting settings and can retrieve the format string for a given setting name.
https://docs.djangoproject.com/en/stable/topics/i18n/translation/#get-format