Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据库部分代码瑕疵 #32

Closed
tttimit opened this issue Oct 18, 2016 · 2 comments
Closed

数据库部分代码瑕疵 #32

tttimit opened this issue Oct 18, 2016 · 2 comments

Comments

@tttimit
Copy link

tttimit commented Oct 18, 2016

第三章 Flask Web 开发中P66-P67页所示的例子中,缺少了一句关键的代码
users.create()
按照原书中的代码,执行后会报 r.Users 表不存在的问题。
其实在P67页“分析一下这个例子中“中第一条就有了,但是代码部分缺少了创建表的那一句

@dongweiming
Copy link
Owner

@ttimit 感谢提醒 代码中是有的但是书中没有出现

@dongweiming
Copy link
Owner

@tttimit 已在 https://github.com/dongweiming/web_develop/blob/master/errata.md#代码错误 添加这个问题为第四个错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants