AttributeError: type object 'datetime.datetime' has no attribute 'datetime' 在代码中写到: 修改了这里: 结果就能运行了 ,也写进去数据库了