上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页
摘要: 1.内容回顾 1. 外键的增删改查 1. 外键的语法 models.ForeignKey(to='', on_delete=models.CASCADE) 2. 外键查询的语法 book_obj.press --> 取到的是和我这本书关联的出版社对象 book_obj.press_id --> 数据 阅读全文
posted @ 2020-06-28 21:32 蜗牛般庄 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 1. 内容回顾 1. 昨日问题 1. request.GET(编辑功能) request.GET是取URL里面的参数,和什么请求是没关系的。 2. ORM取数据 类名.objects.all() 类名.objects.get(条件) --> 有且只能找到一个 类名.objects.filter(条件 阅读全文
posted @ 2020-06-28 21:26 蜗牛般庄 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1. 内容回顾 1. 几个问题 1. form表单的action 2. PyCharm打开Django项目 3. PyCharm新建Django项目 2. 内容回顾 1. form表单提交数据三个要素 1. form标签要有action和method,上传文件需要额外指定enctype属性 2. 获 阅读全文
posted @ 2020-06-19 16:39 蜗牛般庄 阅读(208) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/liwenzhou/p/8296964.html Django框架介绍 1. 内容回顾 1. 课前练习,那些常用的内置模块 2. 昨日内容 1. Web框架的原理(了解) socket服务端,收发的消息都是按照HTTP协议的格式 socket客户端 浏 阅读全文
posted @ 2020-06-19 16:13 蜗牛般庄 阅读(136) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/liwenzhou/articles/8620663.html HTTP https://www.cnblogs.com/liwenzhou/p/8258992.html web 框架原理1. 内容回顾 1. 课前练习题 2. 前面内容复习 1. My 阅读全文
posted @ 2020-06-17 17:04 蜗牛般庄 阅读(161) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/clschao/articles/10049133.html MySQL之索引原理与慢查询优化 昨日内容回顾 一\连表查询 笛卡尔积 select * from dep,emp; 连表操作 inner join left join right join 阅读全文
posted @ 2020-06-17 16:21 蜗牛般庄 阅读(148) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/clschao/articles/10023248.html Navicat 和 pymysql https://www.cnblogs.com/clschao/articles/9995815.html#_label2 多表查询 # 昨日内容回顾 行 阅读全文
posted @ 2020-06-17 10:02 蜗牛般庄 阅读(220) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/clschao/articles/9995531.html#_label6 MySQL之单表查询 # 昨日内容回顾 客户端完整连接语句 ```mysql -h 127.0.0.1 -P 3306 -u root -p 密码``` 创建表 ```crea 阅读全文
posted @ 2020-06-15 20:31 蜗牛般庄 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 数据类型https://www.cnblogs.com/clschao/aticles/9959559.html表操作 https://www.cnblogs.com/clschao/aticles/9951307.html ## 表相关操作 创建表 ```创建表完整语句create table 表 阅读全文
posted @ 2020-06-13 10:55 蜗牛般庄 阅读(166) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/clschao/articles/9953550.html 今日内容 DBMS 数据库管理系统 mysql RDBMS 关系型数据库管理系统 sql语句 结构化查询语句 永久修改字符集编码的方法 在mysql安装目录下创建一个my.ini(my.cnf 阅读全文
posted @ 2020-06-13 09:49 蜗牛般庄 阅读(114) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页
Title
页脚 HTML 代码