Skip to content Skip to sidebar Skip to footer

Unique User Profiles Via URL

Alright, i've asked this question in the past. However, when I asked it, I had a limited knowledge of python and app engine. This is most likely why I failed to implement this in t

Solution 1:

the mapping should look like this:

('/profile/(.*)/?', Profile)

and your Handlers get function should take a parameter which will be the profile id/name

class Profile(MainHandler):
    def get(self, profile_id):
        # do something with the profile id...

i think you should give the docs a deeper look.
for example here: https://developers.google.com/appengine/docs/python/tools/webapp/running


Post a Comment for "Unique User Profiles Via URL"