I have a model similar to
class MyModel(models.Model):
startTime = models.DateTimeField(db_column='start_time', blank=False, default=timezone.now)
Everything is working as expected. However, if I change the date from admin panel, then the date format is not consistent to the original format and it strips the microseconds. just like the below
From "startTime": "2020-12-25T04:50:26.173085Z"
to "startTime": "2021-03-08T01:50:19Z"
How can I still save the data from admin panel and save the original format with microseconds?
I am using MySQL as my database.
Thanks in Advance.