1 vote

Lecture 9, how to get default value from `flask.request.get` after submitting a form?

The form method is GET so all parameters are sent in the URL. The python method get finds the key, so does not default to "world". Some ways to change the behaviour: add a test for empty ...
DinoCoderSaurus's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible