Yes it is. I'm happy to raise a feature request for this.
Matt On Apr 21, 6:07 am, howesc <how...@umich.edu> wrote: > isparentaGAEthing? > > if not, then wouldn'tparentbe setup as a reference to book (in this > example), and > db.review.insert(parent= book.id, text = 'The book was great) would > work? > > cfh > > On Apr 18, 9:15 pm, Matt <mjwat...@gmail.com> wrote: > > > > > Thanks Massimo. > > > Matt > > > On Apr 19, 1:53 pm, mdipierro <mdipie...@cs.depaul.edu> 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 <mjwat...@gmail.com> wrote: > > > > > Hi, > > > > > Quick question when using web2py withGAE. > > > > > I need to assign a model as theparentof another entity. > > > > > How can I retrieve theGAE"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