奇妙小bug
ZBWJ
打斗地主3456没有7的自闭小菜呀
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
在Django中使用makemigrations时报错No changes detected
在修改了models.py后,有些用户会喜欢用python manage.py makemigrations生成对应的py代码。但有时执行python manage.py makemigrations命令(也可能人比较皮,把migrations文件夹给删了),会提示"No changes detected." 可能有用的解决方式如下:先 python manage.py makemigrations --empty yourappname 生成一个空的initial.py再 python man原创 2020-12-17 14:34:55 · 1693 阅读 · 0 评论 -
django后端报错 self.status.split(‘ ‘,1)[0], self.bytes_sent AttributeError: ‘NoneType‘ object has no att
Django项目:前端页面向后端发送一个post请求时疯狂报错,使用接口调试工具(apipost)正常。self.status.split(' ',1)[0], self.bytes_sent AttributeError: 'NoneType' object has no attribute 'split'原因:form 表单 post之后 ,重新定向当前页面的get请求这是因为,form表单提交的时候,按钮在form表单里面 !!!!!!!!!!!!!!!!!!!!!!!...原创 2020-12-16 15:16:18 · 880 阅读 · 0 评论
分享