BillBie

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

03 2023 档案

django makemigrations 生成迁移文件时,发现几个字段丢失
摘要:midels: 初始化后的迁移文件: 发现缺失:menu_sort,is_display,create_time,update_time 最后发现在models 文件中,多了逗号 , 导致无法生成,最后移除逗号就ok了 阅读全文

posted @ 2023-03-31 16:25 BillBie 阅读(69) 评论(0) 推荐(0) 编辑

vue-qr引入时报错You may need an appropriate loader to handle this file type. 问题
摘要:今天研究了一下vue生成二维码的功能,在使用vue-qr插件的时候,在所需页面引入,报错,于是就研究了一番。 解决方法 找到node_modules/vue-qr/dist/vue-qr.js文件,搜...e,将...去掉,然后重新运行就好。 阅读全文

posted @ 2023-03-29 14:18 BillBie 阅读(372) 评论(0) 推荐(0) 编辑

diango_vue cors跨域问题
摘要:pip3 install django-cors-headers 注意版本,django和django-cors-headers存在版本兼容问题,安装过高版本的django-cors-headers 会导致自动升级 django版本,带来一些意想不到的问题 django-cors-headers== 阅读全文

posted @ 2023-03-14 18:46 BillBie 阅读(55) 评论(0) 推荐(0) 编辑

python-redis 模糊匹配 scan del
摘要:转载自:https://zhuanlan.zhihu.com/p/534129213 begin_pos = 0 # 最开始游标从0开始 datalists = [] size = my_conn.dbsize() new_pos = size while new_pos: new_pos, dat 阅读全文

posted @ 2023-03-06 15:46 BillBie 阅读(113) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示