In one of the model i have set one timestamp field as follows:
created_datetime = models.DateTimeField(auto_now_add = True)
While in shell i am
As far as I know, best practice for default datetimes is to use the following:
created_datetime = models.DateTimeField(default=datetime.datetime.now)
Don't forget to import datetime