1

I use Django 3 with postgresql. USE_TZ is False and TIME_ZONE is 'Asia/Baku'. django.utils.timezone.now() correctly return Baku localtime, but all DateTimeFields with auto_now_add save datetime in UTC in database. I want to use localtime everywhere in my app.

edit: I use ubuntu server and timezone is set on Baku

AlexMercer
  • 301
  • 3
  • 10

0 Answers0