1👍
✅
When USE_TZ
is enabled, Django stores all datetimes in UTC and uses the TIME_ZONE
setting to display the stored timezone.
From the django’s timezone docs:
When support for time zones is enabled, Django stores datetime
information in UTC in the database, uses time-zone-aware datetime
objects internally, and translates them to the end user’s time zone in
templates and forms.
Source:stackexchange.com