Errata

Flask Web Development

Errata for Flask Web Development, Second Edition

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
4
Example 4-4. hello.py: Route methods

Hello Miguel,

Thanks for the new addition of the book!

I would kindly ask you to explain why is the line

form.name.data = ''

required in the example 4-4. hello.py: Route methods

Thanks in advance,
Ana

Note from the Author or Editor:
I will provide the update to the book as part the PDF I'm currently reviewing.

ana sustic  Dec 08, 2017 
Printed
Page 82
Example 6-4

Hello.
Seems db.session.commit() statement missed.

Note from the Author or Editor:
You are correct. This has been corrected in the GitHub repository for this project, and will also be corrected when the book is reprinted. Thanks!

Oleh Liskovych  Aug 29, 2020 
Printed
Page 130
Prior to Example 9-4

In the paragraph before example 9-4, you say "instead a class method can be added". However, Example 9-4 shows a static method rather than a class method.

Note from the Author or Editor:
This report is correct. The reference to "class method" should be changed to "static method". I will update this in the book's source files myself so that it is fixed for the next reprint.

Rob Rose  Aug 23, 2018