Skip to content

Commit

Permalink
更新了部分文档
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrued committed Jun 29, 2020
1 parent 0460425 commit 2747427
Show file tree
Hide file tree
Showing 7 changed files with 589 additions and 725 deletions.
581 changes: 581 additions & 0 deletions Day41-55/44.Cookie和Session.md

Large diffs are not rendered by default.

485 changes: 0 additions & 485 deletions Day41-55/44.表单的应用.md

This file was deleted.

194 changes: 0 additions & 194 deletions Day41-55/45.Cookie和Session.md

This file was deleted.

Binary file added Day41-55/res/csrf-simple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Day66-75/70.解析动态内容.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

那么结论就很简单了,只要我们找到了这些网络API接口,那么就能通过这些接口获取到数据,当然实际开发的时候可能还要对这些接口的参数以及接口返回的数据进行分析,了解每个参数的意义以及返回的JSON数据的格式,这样才能在我们的爬虫中使用这些数据。

关于如何从网络API中获取JSON格式的数据并提取出我们需要的内容,在之前的[《文件和异常》](../Day01-15/Day11/文件和异常.md)一文中已经讲解过了,这里不再进行赘述。


### 使用Selenium

Expand Down
32 changes: 0 additions & 32 deletions Day66-75/71.表单交互和验证码处理.md

This file was deleted.

20 changes: 7 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,34 +221,28 @@

### Day41~55 - [实战Django](./Day41-55)

#### Day41 - [快速上手](./Day41-55/41.快速上手.md)
#### Day41 - [Django快速上手](./Day41-55/41.Django快速上手.md)

- Web应用工作原理和HTTP协议
- Web应用工作机制
- HTTP请求和响应
- Django框架概述
- 5分钟快速上手
- 使用视图模板

#### Day42 - [深入模型](./Day41-55/42.深入模型.md)

- 关系型数据库配置
- 管理后台的使用
- 使用ORM完成对模型的CRUD操作
- 管理后台的使用
- Django模型最佳实践
- 模型定义参考

#### Day43 - [静态资源和Ajax请求](./Day41-55/43.静态资源和Ajax请求.md)

- 加载静态资源
- 用Ajax请求获取数据

#### Day44 - [表单的应用](./Day41-55/44.表单的应用.md)

- 表单和表单控件
- 跨站请求伪造和CSRF令牌
- Form和ModelForm
- 表单验证
- Ajax概述
- 用Ajax实现投票功能

#### Day45 - [Cookie和Session](./Day41-55/45.Cookie和Session.md)
#### Day44 - [Cookie和Session](./Day41-55/44.Cookie和Session.md)

- 实现用户跟踪
- cookie和session的关系
Expand Down

0 comments on commit 2747427

Please sign in to comment.