Use the key_name or key_id in the URL, then use Model.get_by_key_name or db.Key.from_path to get the entity when asked.
On Jun 13, 4:05 pm, david <[email protected]> wrote: > Hello everyone, > > I've been looking for a way to shorten keys on URLs, for example: I > learned that an entity key is built from the app id and a path to that > entity using base64, so basically all of the keys for my application > have the same prefix which I could remove from key strings when > putting them in URLs and preppend the common prefix every time I'm > going to process one of those. Have anybody done something similar or > does anybody have and advice on that matter? > > Thanks. > > David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
