Hi all,
I just installed version of TurboGears and have create a new project which
includes indentity and uses SQLAlchemy. By default I get the following
error when I want to add restriction to a webpage by checking if a users
belongs to a group.
File
"/usr/local/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/identity/saprovider.py",
line 81, in _get_groups
self._groups = frozenset([g.group_name for g in self.user.groups])
AttributeError: 'User' object has no attribute 'groups'
I can't seem to work out the problem.
Any help please!!
--
Regards/Groete/Mit freundlichen Grüßen/recuerdos/meilleures salutations/
distinti saluti/siong/duì yú/привет
Jurgens de Bruin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---