Skip to content

Commit

Permalink
Merge pull request greyli#143 from meizhaohui/patch-2
Browse files Browse the repository at this point in the history
add the error about the chapter 10
  • Loading branch information
greyli authored Feb 1, 2019
2 parents d8bb756 + 5aed211 commit c0c6f65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions errata/errata.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
| 9.11.2 P389 代码清单9-71倒数第4行 | `{{ render_form(crop_form) }}` | `{{ render_form(crop_form, action=url_for('.crop_avatar')) }}` | 笔误 18.12.24 |
| 9.14.3 P412 代码清单9-90 | | | 缺少validate_username()方法的定义 18.12.24 |
| 10.1.1 P420 第 2 小节第一个代码块第 7 行 | `{{ url_for('todo.clear_item') }};` | `{{ url_for('todo.clear_items') }};` | 笔误 18.12.27 |
| 10.1.4 P425 第一个代码块第 6 行 | `jsonify(message='Invalid item body.'), 400` | `return jsonify(message='Invalid item body.'), 400` | 笔误 19.1.20 |
| 10.3.3 P447 第 1 小节/该页最后一个代码块 | `... import api` | `... import api_v1` | 笔误 18.12.28 |
| 10.3.3 P447 第 1 小节/该页最后一个代码块 | `csrf.exempt(api)` | `csrf.exempt(api_v1)` | 笔误 18.12.28 |
| 10.3.3 P453 代码清单10-13第一行中的methods参数 | `methods=['GET', 'POST']` | `methods=['GET']` | 与原定的方法不一致 18.12.28 |
Expand Down

0 comments on commit c0c6f65

Please sign in to comment.