Jun-17-2020, 05:29 PM
(Jun-17-2020, 04:04 PM)card51shor Wrote: It's not true. The text does not explain the code. I read it all. It doesn't explain it.
It really does. The first sentence says
Quote:You can add variable sections to a URL by marking sections with <variable_name>. Your function then receives the <variable_name> as a keyword argument.
and the first handler (
shows_user_profile
) demonstrates that. If you ran the example and tried different paths (e.g. /user/bob
, /user/alice
), you'd see it working. For whatever reason, you seem to not even want to do that.