05 2021 档案

摘要:首先登陆mysql 一:show databases; 展示所有数据库(root用户下) 二:use xxx (数据库名)使用use选择数据库 三:show xxx 查看数据库中的表 四:desc table_name 查询表结构 一 、创建一个用户 # mysql -u root -p # 首先登 阅读全文
posted @ 2021-05-18 15:38 非非非常帅的辰 阅读(1874) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/aca31d8f4c5b 阅读全文
posted @ 2021-05-13 15:25 非非非常帅的辰 阅读(2164) 评论(0) 推荐(0)
摘要:序列化类:serializers.py from rest_framework import serializers from goods.models import Goods, GoodsCategory class xxxxxxx(serializers.serializer): sub_ca 阅读全文
posted @ 2021-05-07 15:37 非非非常帅的辰 阅读(100) 评论(0) 推荐(0)
摘要:在url里设置以上代码即可,即可解决图片显示异常(出现此问题的根本原因是django版本)django3后需要加以上代码) 阅读全文
posted @ 2021-05-07 14:40 非非非常帅的辰 阅读(740) 评论(0) 推荐(0)