文章分类 -  报错和处理方法

python3.x运行的坑:AttributeError: 'str' object has no attribute 'decode'
摘要:在centos7中使用uwsgi启动django项目 项目连接mysql 在进行数据获取的时候报错如下 报错信息 Internal Server Error: /api/v1/gamefile/1 Traceback (most recent call last): File "/root/.vir 阅读全文

posted @ 2020-05-28 17:22 王大拿 阅读(1500) 评论(0) 推荐(0) 编辑

centos安装uwsig报错如何解决
摘要:Linux安装uWSGI失败处理办法Exception: you need a C compiler to build uWSGI [root@djc_nb djc_wcapp]# pip3 install uwsgi WARNING: Running pip install with root p 阅读全文

posted @ 2020-05-27 17:41 王大拿 阅读(1265) 评论(0) 推荐(0) 编辑

django rest manytomany create 报错提示不能为空
摘要:django rest manytomany create 多对多创建数据时,想要创建一条被关联的数据为空的新数据,结果报错,报错如下 modles.py class AuthorityEntry(models.Model): """ """ platform_services = models.C 阅读全文

posted @ 2020-03-18 17:55 王大拿 阅读(588) 评论(0) 推荐(0) 编辑

导航