Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I get the whole string if there have space? #9

Open
louisom opened this issue Apr 13, 2013 · 7 comments
Open

How can I get the whole string if there have space? #9

louisom opened this issue Apr 13, 2013 · 7 comments

Comments

@louisom
Copy link

louisom commented Apr 13, 2013

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!

@bev-a-tron
Copy link
Owner

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.

@bev-a-tron
Copy link
Owner

Would it work to escape the space character? (Hahah, I know this was over a year ago!)

@zealsham
Copy link

Hahahaha...

@zealsham
Copy link

You came back after some years

@louisom
Copy link
Author

louisom commented Jan 21, 2016

there is another years lol

@popcycle
Copy link

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

hello flask tutorial

@bev-a-tron
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants