Django strict checking for aware timestamps

前端 未结 0 1110
傲寒
傲寒 2021-02-02 09:45

In Django, if you have USE_TZ = True and pass a naive datetime to a database call, it logs the error:

DateTimeField Model.field received a naive

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