上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 23 下一页
摘要: 新浪微博开放平台:https://open.weibo.com/ 1.注册账号 注册新浪微博账号 进入首页。创建网站接入的应用: https://open.weibo.com/ 选择立即接入,进入到创建应用页面 创建应用 基本信息页面: https://open.weibo.com/apps/351 阅读全文
posted @ 2020-10-09 11:22 高登汗 阅读(3210) 评论(0) 推荐(0) 编辑
摘要: 1.微博三方登录流程 https://api.weibo.com/oauth2/authorize? client_id=4122644977 &response_type=code &state=study& forcelogin=true& redirect_uri=https%3A%2F%2F 阅读全文
posted @ 2020-10-09 10:57 高登汗 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 豆瓣 -i https://pypi.douban.com/simple 淘宝 -g --registry = https://registry.npm.taobao.org 清华园 -i https://pypi.tuna.tsinghua.edu.cn/simple 阅读全文
posted @ 2020-10-08 21:41 高登汗 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 1.pipeline原理 redis基本语法:https://www.cnblogs.com/xiaonq/p/7919111.html redis四篇:https://www.cnblogs.com/xiaonq/category/1544586.html 1.1 redis发送数据原理 1. R 阅读全文
posted @ 2020-10-08 19:08 高登汗 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 分组1、limit start (开始,从第几行开始查),count(从开始行下一行,往后查几行数据)select * from 表名 limit start,countselect * from 表名 limie 9,5外键定义、连接两个表的1、先建主表 插入数据2、再建子表注意 一定先创建与主表 阅读全文
posted @ 2020-10-08 07:44 高登汗 阅读(174) 评论(0) 推荐(0) 编辑
摘要: -- 查询类型 cate_name 为 '超级本' 的商品名称 name 、价格 price ( where )select name,price from goods where cate_name = "超级本"; -- 显示商品的种类-- 1 分组的方式( group by ) select 阅读全文
posted @ 2020-10-08 07:41 高登汗 阅读(1366) 评论(0) 推荐(0) 编辑
摘要: -- 查询练习 -- 查询所有字段 -- select * from 表名; select * from students; -- 查询指定字段 -- select 列1,列2,... from 表名; select name,gender from students; -- 使用 as 给字段起别 阅读全文
posted @ 2020-10-08 07:40 高登汗 阅读(137) 评论(0) 推荐(0) 编辑
摘要: --sql语句的注意 : 1 以;作为结束符 2 不区分大小写--01 mysql 数据库的操作 -- 链接数据库 mysql -uroot -pmysql -- 不显示密码 mysql -uroot -p mysql -- 退出数据库 exit/quti/ctrl + d -- sql语句最后需要 阅读全文
posted @ 2020-10-08 07:34 高登汗 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1.先进入MySQL 2.在进入user库 3执行以下命令 create user root@'%' identified by'1'; 注释(root用户名 1 密码) drop user root@'%'; flush privileges; grant all on *.* to 'root' 阅读全文
posted @ 2020-10-08 07:33 高登汗 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1.完善注册接口 1.1 修改user/views.py中完善视图函数 # 注册接口 class RegisterView(APIView): """ 用户注册, 权限是: 匿名用户可访问 """ # 自定义权限类 permission_classes = (AllowAny,) ​ def pos 阅读全文
posted @ 2020-10-08 07:19 高登汗 阅读(73) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 23 下一页