hello,
I want to make my URLs pretty with "/default/record/green apple"
instead of "default/record/42".
But the white spaces are being parsed so that request.args[0] comes in
as "green_apple".
I can't do request.args[0].replace('_', ' '), because the original
string may have included an underscore. So, what do you suggest?
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---