[Answer]-Why won't Django Model's time field default properly to utcnow() as expected?

1👍

Because you’ve already called it. Pass it as a function instead.

timeStamp = models.DateTimeField(default=datetime.datetime.utcnow)

Leave a comment