It seems that jsonify_user is trying to drop the password before
returning the result and 'result' does not contain anything with key
'password'.  For now, I just commented out the del statement.  However,
while it is getting groups and permissions right in the jsonified
output, along with all the fields in my object, it is missing other
fields from TG_User, like displayName and userId, although they do
exist in the pre-jsonified version.

For now, I'm just getting what I can with jsonify and then getting the
missing fields explicitly.

Perhaps I'm doing something that I'm not really supposed to do?

Well, it's still a lot better than the pre 0.9ax way of a=a, b=b, c=c,
d=d, f=f ..., so I'm not complaining. (It only added 5 lines.) ;-)

-Steve


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to