On Jan 6, 7:18 pm, "glenn" <[EMAIL PROTECTED]> wrote:
I notice many people pass in key value pairs, but, well... I dont want to have to - It seems I can almost get away with just passing in the object (p) and I'd like to make this work.
You can turn most data model objects into dictionaries with jsonify. This is what I do. from turbojson.jsonify import jsonify p_dict = jsonify(p) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

