Django models: default datetime is not translated into SQL CURRENT_TIMESTAMP

后端 未结 0 1418
野性不改
野性不改 2020-12-16 19:37

I am using Django models to create a PostgreSQL-DB. I have a DateTimeField where I would like to set the current timestamp as default value. I am aware of multiple sources s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题