会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
胸怀丶若谷
每一天都是在我身边的最后一天
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
45
下一页
2021年12月2日
Loopback:Error: ER_BAD_FIELD_ERROR: Unknown column 'string' in 'order clause'
摘要: 传入的数据与数据库类型不匹配
阅读全文
posted @ 2021-12-02 13:37 胸怀丶若谷
阅读(235)
评论(0)
推荐(0)
2021年11月22日
pycharm:插件translation 更新TTK失败
摘要: 解决方案 1.修改C:\Windows\System32\drivers\etc 下hosts文件, 添加 203.208.40.66 translate.google.com 203.208.40.66 translate.googleapis.com 此方法解决谷歌浏览器网页翻译失败问题, 将国
阅读全文
posted @ 2021-11-22 10:55 胸怀丶若谷
阅读(891)
评论(0)
推荐(0)
2021年11月15日
python:时间模块dateutil
摘要: 安装 pip install python-dateutil dateutil模块主要有两个函数,parser和rrule。 其中parser是根据字符串解析成datetime,而rrule则是根据定义的规则来生成datetime。 参考链接 https://www.jianshu.com/p/f2
阅读全文
posted @ 2021-11-15 14:26 胸怀丶若谷
阅读(94)
评论(0)
推荐(0)
python: 判断是否是某一类型
摘要: 函数isinstance 语法 isinstance(object, classinfo) 参数 object -- 实例对象。 classinfo -- 可以是直接或间接类名、基本类型或者由它们组成的元组。 返回值 如果对象的类型与参数二的类型(classinfo)相同则返回 True,否则返回
阅读全文
posted @ 2021-11-15 14:03 胸怀丶若谷
阅读(818)
评论(0)
推荐(0)
Django reset framework: 序列化
摘要: 序列化与反序列化 将模型转换为json 称之为 序列化 将json转换为模型 称之为 反序列化 何时进行序列化与反序列化 序列化:当后端将数据库中信息取出返回给前端时,要进行序列化操作 反序列化:当需要将用户发送的数据存储到数据库之前那,需要反序列化 前端给后端:反序列化 后端给前端:序列化 参考链
阅读全文
posted @ 2021-11-15 10:53 胸怀丶若谷
阅读(72)
评论(0)
推荐(0)
2021年11月10日
git: failed to push some refs to
摘要: 错误原因 没有添加readme文件 解决方案 git pull --rebase origin master 至此问题解决
阅读全文
posted @ 2021-11-10 08:39 胸怀丶若谷
阅读(36)
评论(0)
推荐(0)
git: 回退版本
摘要: 没有推送到远端在本地中回退 git log 使用git log命令显示commit信息 2.回退 git reset --soft 0e35e2036c7ca495a53cd165f420b7db4f2603b2 推送到远端回退 遵循如上前两步,使用如下命令推送 #如强制撤销并推送至 master
阅读全文
posted @ 2021-11-10 08:36 胸怀丶若谷
阅读(75)
评论(0)
推荐(0)
2021年11月9日
node:spawn npm ENOENT
摘要: 错误背景 封装脚手架时报错 错误原因 windows系统原因 解决方案 const createProjectAction = async (project) => { console.log("why help you create your project") // 1.clone项目 awai
阅读全文
posted @ 2021-11-09 15:51 胸怀丶若谷
阅读(383)
评论(0)
推荐(0)
2021年11月8日
git:gitignore常用配置
摘要: 配置 在项目文件中添加.gitignore文件 .DS_Store node_modules /dist
阅读全文
posted @ 2021-11-08 11:39 胸怀丶若谷
阅读(97)
评论(0)
推荐(0)
node:windows script host 錯誤 console未定义
摘要: 错误背景 在开发npm包时,碰到此项报错 解决方案 选中任意js文件,选择打开方式,指定到node中即可
阅读全文
posted @ 2021-11-08 11:24 胸怀丶若谷
阅读(459)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
45
下一页
公告