On Friday 21 September 2007 22:03:24 shadowfox wrote: > 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 -~----------~----~----~----~------~----~------~--~---

