How to set default and auto_now value for django datetime model field

后端 未结 0 1902
一向
一向 2021-01-03 20:22

I want to set a default DateTime for my Django model that will be used in querying data from google fit api. Since this field will be empty in the beginning, the default val

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