Re: DateTimeField is in UTC but need IST standards

2019-04-30 Thread vineeth sagar
whenever USE_TZ=True is enabled, the timestamp is stored as a UTC object. This is standard practice, why? https://docs.djangoproject.com/en/2.2/topics/i18n/timezones/ Go through this, more than once. It'll be helpful. On Tue, 30 Apr 2019, 18:09 Sampath Reddy, wrote: > Hey guys, > > I am using

DateTimeField is in UTC but need IST standards

2019-04-30 Thread Sampath Reddy
Hey guys, I am using DjangoRestFramework as tech stack to develop backend API points for my application. I have a model with field created = models.DateTimeField(auto_now_add=True) in one of the models. I am using mysql as backend db, now the problem I am having is I am not able to figure out ho