上一页 1 2 3 4 5 6 7 ··· 9 下一页
  2019年8月13日
摘要: web接口 RESTful规范 drf简易书写TESTful规范接口 CBV源码分析 drf安装与使用 request源码分析 阅读全文
posted @ 2019-08-13 19:17 Jolinhe 阅读(295) 评论(0) 推荐(0) 编辑
  2019年7月5日
摘要: jq引入 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Title</title> </head> <body> </body> <script src="js/jquery-3.4.1.js"></script> <scri 阅读全文
posted @ 2019-07-05 20:37 Jolinhe 阅读(465) 评论(0) 推荐(0) 编辑
  2019年7月4日
摘要: 运算符 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Title</title> </head> <body> <h1>运算符</h1> </body> <script> let n1 = 5; let n2 = 2; let 阅读全文
posted @ 2019-07-04 19:16 Jolinhe 阅读(138) 评论(0) 推荐(0) 编辑
  2019年7月3日
摘要: 标签的隐藏 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style> div { width: 100px; height: 100px; background-color: orange; border 阅读全文
posted @ 2019-07-03 19:17 Jolinhe 阅读(337) 评论(0) 推荐(0) 编辑
  2019年7月1日
摘要: 目录 : 高级选择器 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title</title> <style> body { font-size: 30px; } /*选择器高级:基础选择器的各种组合*/ /*1、群组选择器: 阅读全文
posted @ 2019-07-01 22:00 Jolinhe 阅读(319) 评论(0) 推荐(0) 编辑
  2019年6月26日
摘要: 数据备份:使用的不再是mysql.exe,而是mysqldump.exe 数据恢复: 阅读全文
posted @ 2019-06-26 10:16 Jolinhe 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 一、库操作 二、表操作(增删改查) 增 删 改 查 表与表之间的关系 三,数据操作(增删改查) 增:insert 删:delete 改:update 查:select 单表查询 单表查询顺序: 多表查询 四、索引 索引不生效的原因 阅读全文
posted @ 2019-06-26 08:55 Jolinhe 阅读(300) 评论(0) 推荐(0) 编辑
  2019年6月24日
摘要: #单例模式 : 多次实例化结果指向同一个实例 第一种 (基于classmethod) 第二种(基于装饰器) 第三种(基于元类) 第四种(基于__new__) 第五种(基于模块) 阅读全文
posted @ 2019-06-24 20:55 Jolinhe 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 什么是元类 ? 基于python的宗旨:一切皆对象。而对象都是由类实例化得到的 那么类也是对象,它又是谁实例化得到的呢? 结论1:元类就是产生类的类,默认情况下type就是所有类的元类 不依赖class关键字创建类 根据第一个结论我们能理出两条对应关系 1.调用元类得到自定义的类 2.调用自定义的类 阅读全文
posted @ 2019-06-24 20:12 Jolinhe 阅读(140) 评论(0) 推荐(0) 编辑
  2019年6月23日
摘要: db_pool.py from DBUtils.PooledDB import PooledDB import pymysql POOL = PooledDB( creator=pymysql, # 使用链接数据库的模块 maxconnections=6, # 连接池允许的最大连接数,0和None表 阅读全文
posted @ 2019-06-23 17:50 Jolinhe 阅读(498) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页