There is noting in the book about restful, I only find a video talking about experimental API...
What you try to do is maybe not well tested and buggy I don't know... Try with the @json decorator first you will have a idea if it comes from the json or the restful... Richard On Thu, Sep 1, 2011 at 4:38 PM, Christian Hoffmann < [email protected]> wrote: > Hi, > thanks for the replies. > @pbreit: Tested that too, but same result, means: does not work > @Richard: Thanks, will look at that links! Problem is, that I use > @request.restful() > which gives me the results > > Regards, > Christian > > P.S.: A little bit off topic: When I send a gluon Set a json() I get wired > results: > \"total_time\": 90148, \"last_played\": null, \"album_id\": 123, > All " seem to be escaped. Ideas? > > > 2011/9/1 pbreit <[email protected]> > >> Wouldn't it need to be something like: >> >> db.album.artist_id.represent = lambda r: db.artist(r.id).name >> > >

