Hi all,

I'm newbie to python world. No experience on turbogears.
Please forgive me if anyone ever ask this matter before.

I have query result set, which I want to turn it into json, either
using simplejson or turbojson. This is part of my code :

currencies_rs = DBSession.query(Currencies)
return dict(simplejson.dumps(currencies_rs) )

I got error messages, and try to figure it out by read it on google,
but since I have no experience with python, it turns me more confuse.
So, please anyone could help me ?

Thank you.
kang bedjo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to