django models中设置DateTimeField时,实际输出的时间跟数据库中的时间不一致,由于时区产生的错误。 只需要在 setting中设置 USE_TZ = False, 详细原因请自行理解