Hi all,
Apologies if I'm missing something obvious here.. Can you load a
model with the key() in a string?
I can read the .key() off my model - it's a long random string. I'm
sorting this in the HTML- so I can pass it to an ajax request. Inside
the Ajax request, I want to load up the corresponding Model. I'm
trying to pass in the key string to get() to load up the object, doing
something like this:
key = self.request.get('key')
model = MyModel(key)
But I always get back an 'empty' object?
Thanks,
Russ
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---