I'm trying to change DateTime format for all date time objects in my project. I want to format :
21-06-2021 14:02:12
My settings
DATETIME_FORMAT = '%d-%m-%Y %H:%M:%S'
TIME_ZONE = 'Africa/Tunis'
USE_I18N = True
USE_L10N = False
USE_TZ = True
Result:
%21-%06-%2021 %14:%Jun:%st