Closed ProProgrammer closed 7 years ago
Hi @ProProgrammer, thanks for this. I'll have a look into this and see what I need to revise. Cheers!
Hi @ProProgrammer, thanks for this. I am updating the book, and took out the first example -- which does not yield a 404 as you say. Thank you for the spot!
Cheers, David
Chapter 6 > Parameterized URL mapping section mentions that
(This line is just before info section titled Regex Hell)
This is not true in the case of path
rango/category/python_books/
. Accessing this page returns HTML with test "The specified category does not exist" instead of 404. It looks like the underscores are matched by regex\w
as per what is mentioned on Regular-Expressions.info