Thanks Massimo. Matt
On Apr 19, 1:53 pm, mdipierro <[email protected]> wrote: > No but there should. Will look into this. If anybody has come concrete > proposals, let me know. > > Massimo > > On Apr 18, 7:30 pm, Matt <[email protected]> wrote: > > > > > Hi, > > > Quick question when using web2py with GAE. > > > I need to assign a model as the parent of another entity. > > > How can I retrieve the GAE "model instance" from a web2py query...? > > > book = db.book[request.args(0)] > > > [The book is returned as a row] > > > I'd like to do the following: > > > db.review.insert(parent = book, text = 'The book was great) > > > Is there an easy way to do this? > > > Thanks in advance, > > Matt > > > -- > > Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en

