I am relatively new to Django.
All of my datetime objects are in UTC and my settings.py file has TIME_ZONE = 'UTC'
When these datetime
objects show up in my html template using {{ obj.datetime }}, they are dislayed in UTC
, I want to display them in UTC-05:00.
How can I change this?
Note: I am using class-based views
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…