Steve,

On Thu, Nov 09, 2006 at 12:56:22PM -0600, Steve Holden wrote:

> Great, thanks. Could you let me know when you've finished testing the
> script? :-)

Well, I seem to be hitting a snag with SQLAlchemy.  As others said encrypted
passwords don't work with SQLAlchemy.  SQLAlchemy syntax needs to be added
to the section on adding users via the shell.  Adding the user and group
works but adding the user to the group doesn't.  If I'm following the
SQLAlchemy examples properly adding the user to the group should be
accomplished with something like:

g.users.append(u)

but when I try the above command I get:

AttributeError: 'Group' object has no attribute 'users'

Looking in the model the Group class has:

     users = many_to_many("User", user_group, backref="groups")

Any idea what I might be missing?



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