自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 AttributeError: ‘QuerySet‘ object has no attribute ‘_meta‘

AttributeError: 'QuerySet' object has no attribute '_meta'

2022-09-20 14:44:18 2556 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 991

原创 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 805

原创 MySQL主键的的如何修改

主键设置异常 Multiple primary key defined;unsigned primary key auto_increment

2022-07-24 17:26:35 2199

原创 使用pycharm编译器对MySQL数据库进行操作时 需注意

在利用pymysql连接本机数据库时,注意不要有空格存在,不然会报错。推荐使用方法host=input('').strip()对空格进行去除(只能去除首尾空格)如想去除所有空格请使用replace(),意思是替换(替换啥都可以,自己灵活运用)例如host=input('').replace('','')...

2022-07-24 13:27:55 173

原创 如何MySQL数据库的某个字段都加上1000呢?

update表名set字段名=字段名+1000;update表名set字段名+=1000;

2022-07-22 17:48:06 975 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 225

原创 如何在cmd里查看当地时间(三种实现方法)

如何在cmd里查看当地时间(三种实现方法

2022-07-22 16:33:04 4039

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除