Errata

Test-Driven Development

Errata for Test-Driven Development

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
Other Digital Version
Video 10
21:36

At 20:19, Harry implements adding items to an existing list by adding a list entry in urls.py to /lists/(d+)/add.

Later on, at 21:36, he modifies the list.html template to POST to /lists/{{ list.id }}/new. This is the error.

Following this, the functional test runs successfully, which is also an error.

Note from the Author or Editor:
The submitter is correct I think. Maybe we could add a little caption, either at the first or the second point, saying something like: "NB: during retakes of this video clip, Harry accidentally switched the POST url from being /add to /new. Use whichever you prefer, but the HTML template and urls.py need to be consistent"

Jared Contrascere  Jul 22, 2015