Will this work?

mymodel().put()

mymodel.kind = lambda x: u"newmodel"

mymodel().put()

Will the first instance be saved to mymodel table and second instance
saved to newmodel table?

On Dec 30 2008, 8:13 pm, ryan <[email protected]> wrote:
> actually, the recommended way to do this is to override the Model.kind
> () class method:
>
> http://code.google.com/appengine/docs/datastore/modelclass.html#Model...
--~--~---------~--~----~------------~-------~--~----~
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