I would use something like http://..../<id>/<name>
where name is the IS_SLUG.urlify(user._first_name+'-'+user.last_name) and you can use <id> for a quick user lookup without worries about naming conflicts. On Sunday, 11 August 2013 21:35:47 UTC+2, lesssugar wrote: > > I need to create user profile URL based on user's name and last name, > replacing all the special characters (like Latin letters) with the allowed > ones. How do I achieve this with routes.py? Can't find a straight answer on > this subject in the book nor on the forum. > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

