That works, thanks Alexander!

It also works without the db.Key:
model = MyModel.get(key)

The relevant references - of course it was all there in front of me:
http://code.google.com/appengine/docs/datastore/modelclass.html - Note
get() is a CLASS method
http://code.google.com/appengine/docs/datastore/keyclass.html - "The
string-encoded key can be converted back to a Key object by passing it
to the Key constructor "


On Nov 19, 5:31 pm, Alexander Kojevnikov <[EMAIL PROTECTED]>
wrote:
> > Aw, man... typed that wrong, i am doing:
> > model = MyModel.get(key)
>
> > So this _should_ work with the string I'm getting from the
> > querystring?
>
> Try this:
>
> model = MyModel.get(db.Key(key))
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to