Hi All,

I am using SQLALchemy. Until I was using TG 1.0.2.2, the following
code was working:

identity.current.user is User.get(current_user_id) # both should be
same objects

But while I upgraded to TG 1.0.3.2, identity.current.user seems to be
a separate object. This makes my code to fail at multiple places. One
illustration can be

    @staticmethod
    def CurrentIsAfemale(females):
        return identity.current.user in females

This now fails.

Need suggestions on how to go about it.

thanks
Sanjay


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