时间:2021-07-01 10:21:17 帮助过:97人阅读
RuntimeWarning: DateTimeField 模型类.字段 received a naive datetime (2018-xx-xx xx:xx:xx.137670) while time zone support is active.
RuntimeWarning)
解决办法:
在settings.py中把USE_TZ = True去掉
关于 django 的时区设置与MySQL 时间相差8小时
标签:one hang war django date asi cti 时区设置 field