MyFlaskTutorial
MyFlaskTutorial copied to clipboard
How can I get the whole string if there have space?
Hi, first thanks for this tutorial, this tutorial let me think more clear about flask !
I have a question about request.form
ex: app.questions[0] = ("how many year you use Python?", ("2y down", "2y ~ 5y", "5y up")) when I choice "2y down", request.form['answer_from_layout_lulu'] return "2y"
where is the point to fix so I can get "2y down" ?
thanks!
I'm not sure! Sorry, I'm a bit busy right now! I'll have to play with it later. I'll let you know if I figure it out.
Would it work to escape the space character? (Hahah, I know this was over a year ago!)
Hahahaha...
You came back after some years
there is another years lol
Hello Beverly, I was up to continuing the lesson when I ran the 1st lesson only to get this error. I double checked the code and also found another similar code in the web. Should I be triggering something else? Thank you - Carlos
I think you're visiting the wrong page. You need to go to http://127.0.0.1/hello_page_carlos. It looks like you're going to http://127.0.0.1/hello_carlos.py.