Hi Anthony,

This is a known bug and has been fixed for the next release by
replacing the ActiveMapper definitions with straight SA for now.  The
solution is in this thread: http://tinyurl.com/y4dbbo

On 10/29/06, Anthony Baxter <[EMAIL PROTECTED]> wrote:
>
> I'm  trying to understand the user/group code that quickstart
> --sqlalchemy provides. The wiki talks about using group.addUser, but
> that doesn't appear to be supported. If I get a group object, the
> definition has:
>
> class Group(ActiveMapper):
>      class mapping:
>           users = many_to_many("User", user_group, backref="groups")
>
> but if I look at the object, there's no 'users' attribute. There's
> also no 'groups' attribute on the user. This matches my experiences
> with ActiveMapper - it never seems to work correctly.
> I have some replacement code that uses assign_mapper - should I post
> it to the bug tracker as a patch?
>
> Anthony
>
> >
>


-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com

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