On Wed, 2006-08-11 at 13:04 -0800, iain duncan wrote: > I am following the tutorial on identity management here: > http://docs.turbogears.org/1.0/IdentityManagment > > The tut says I can use SA, which I am doing, and gives instructions for > creating the users using the tg shell. > > I do: > > u = User(user_name='jdoe', email_address='[EMAIL PROTECTED]', > display_name='Jane Doe', password='xxx') > > g = Group(group_name='admin', display_name='Administrators') > > g.addUser(u) > > On the last command I get: > AttributeError: 'Group' object has no attribute 'addUser' > > And am then stuck. Any tips?
Further, I tried again with a new blank project ( so as to be following the instructions word for word ) and hit the snag of having to String(40) to the visit identity section as mentioned in another tutorial. My personal opinion is that it would be better to have a lack of docs for SQLAlchemy over buggy ones because then someone like me who is trying to chose their ORM won't think on first glance that the docs for SA are just as good. I realize the doc says "unoffical" but I was not clear what that meant. Perhaps a clearer mention that it is not fully tested with the current release would be good? Thanks Iain --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

