- 博客(41)
- 收藏
- 关注
原创 AudioSegment.from_mp3报错找不到文件
缺少文件ffmpeg.exe和ffprobe.exe下载对应压缩包,解压后把bin目录下的三个exe复制到代码路径下,重新执行就可以了。
2024-12-25 18:07:15
260
原创 django中如何配置日志存储记录
启动django测试 参考文章:https://www.cnblogs.com/xh2023/p/17350128.html
2024-09-14 13:00:35
869
1
原创 TypeError: ‘module‘ object is not callable
TypeError: 'module' object is not callable
2024-09-12 16:52:20
335
原创 django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.3 or newer is required; you have 1.0.2.
django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.3 or newer is required; you have 1.0.2.
2024-09-09 23:37:25
719
原创 AttributeError: ‘QuerySet‘ object has no attribute ‘_meta‘
AttributeError: 'QuerySet' object has no attribute '_meta'
2022-09-20 14:44:18
3129
1
原创 ModelForm报错:django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the
ModelForm报错:django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the 'fi
2022-09-18 20:30:02
1150
原创 Cannot (add)delete or update a parent row: a foreign key constraint fails (添加外键需注意)
Cannot (add)delete or update a parent row: a foreign key constraint fails (添加外键需注意)
2022-07-27 14:34:36
1102
原创 MySQL主键的的如何修改
主键设置异常 Multiple primary key defined;unsigned primary key auto_increment
2022-07-24 17:26:35
2637
原创 使用pycharm编译器对MySQL数据库进行操作时 需注意
在利用pymysql连接本机数据库时,注意不要有空格存在,不然会报错。推荐使用方法host=input('').strip()对空格进行去除(只能去除首尾空格)如想去除所有空格请使用replace(),意思是替换(替换啥都可以,自己灵活运用)例如host=input('').replace('','')...
2022-07-24 13:27:55
224
原创 如何MySQL数据库的某个字段都加上1000呢?
update表名set字段名=字段名+1000;update表名set字段名+=1000;
2022-07-22 17:48:06
1168
1
原创 cdm操作MySQL数据库易错地方
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ','
2022-07-22 17:19:36
291
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人