- 博客(8)
- 收藏
- 关注
原创 AttributeError: ‘QuerySet‘ object has no attribute ‘_meta‘
AttributeError: 'QuerySet' object has no attribute '_meta'
2022-09-20 14:44:18 2597 1
原创 ModelForm报错:django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the ‘fi
ModelForm报错:django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the 'fi
2022-09-18 20:30:02 1001
原创 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 823
原创 MySQL主键的的如何修改
主键设置异常 Multiple primary key defined;unsigned primary key auto_increment
2022-07-24 17:26:35 2214
原创 使用pycharm编译器对MySQL数据库进行操作时 需注意
在利用pymysql连接本机数据库时,注意不要有空格存在,不然会报错。推荐使用方法host=input('').strip()对空格进行去除(只能去除首尾空格)如想去除所有空格请使用replace(),意思是替换(替换啥都可以,自己灵活运用)例如host=input('').replace('','')...
2022-07-24 13:27:55 181
原创 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 237
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人