Ok, the others may know already, I didn't, thanks for the tip. On Sep 24, 11:33 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > On Friday 21 September 2007 22:03:24shadowfoxwrote: > > > Awesome, y'all are so smart. > > > My code now looks cleaner and probably a bit faster. > > Erm - you guys know that the turbojson-module contains a method for this? > > just calling jsonify on a SO-object will work. And it will traverse the > inheritance-list as well. > > from turbojson.jsonify import jsonify_sqlobject > > Diez
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

