摘要:
输入以下指令: pip freeze > requirements.txt pip批量安装: pip install -r requirements.txt 阅读全文
posted @ 2024-01-18 20:29
wellplayed
阅读(55)
评论(0)
推荐(0)
摘要:
报错原因: 1.settings文件中没有注册app 2.如果注册了,就是django没有识别出来 解决办法: 1.注册app 2.导入models时使用绝对导入 将相对导入方式: from .models import 表名 改为: from app.models import 表名 阅读全文
posted @ 2024-01-18 16:21
wellplayed
阅读(540)
评论(0)
推荐(0)
摘要:
第一步:管理员连接数据库 mysql -uroot -p密码 第二步:创建账户能够访问的数据库 create database 数据库名 default charset=utf8; 第三步:查看用户 select user,host from mysql.user; 第四步:创建用户 # 授权账号命 阅读全文
posted @ 2024-01-18 14:57
wellplayed
阅读(67)
评论(0)
推荐(0)
摘要:
cmd输入: cnpm install -g @vue/cli ——之后就能使用vue创建项目了 阅读全文
posted @ 2024-01-18 09:39
wellplayed
阅读(11)
评论(0)
推荐(0)
摘要:
cmd输入: npm install -g cnpm --registry=https://registry.npmmirror.com/ 全局配置: npm config set registry https://registry.npmmirror.com/ -g 查看是否更换成功: npm c 阅读全文
posted @ 2024-01-18 09:37
wellplayed
阅读(367)
评论(0)
推荐(0)

浙公网安备 33010602011771号