Patrick,

On Thu, Nov 09, 2006 at 12:32:15PM -0800, Patrick Lewis wrote:
 
> Delete (or comment out) the lines in the Group class:
> 
> users = many_to_many("User", user_group, backref="groups")
> permissions = many_to_many("Permission", group_permission,
>                                              backref="groups")
> 
> This fixes a bug that was in the 1.0b1 release.

Thanks.  That fixed the problem.  With the above fix I can get through the
"Identity Management" tutorial using SQLAlchemy.  Aside from perhaps
mentioning the above fix for 1.0b1 the only tweek I found needed to the
tutorial for SQLAlchemy is for adding a user to a group.  The tutorial
shows:

g.addUser(u)

which works for SQLOBject.  For SQLAlchemy, it needs to be:

g.users.append(u)

And, of course, if information is added to the tutorial on adding
permissions the SQLObject vs. SQLAlchemy syntax would differ there also.

I think I'll stick to SQLObject for now.  Not only does SQLAlchemy not work
with encrypted passwords in Identity and not work with CatWalk it kills the
entire tg-admin toolbox interface.  I'll be keeping an eye on SQLAlchemy
support and see how it progresses.  It's definitely not ready for prime time
at the moment.


Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.

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