Package turbogears :: Package identity :: Module soprovider :: Class TG_Group

Class TG_Group

source code

sqlobject.SQLObject --+
                      |
                     TG_Group

An ultra-simple group definition.

Class Variables
  group_name = UnicodeCol(length= 16, alternateID= True, alterna...
  display_name = UnicodeCol(length= 255)
  created = DateTimeCol(default= datetime.now)
  users = RelatedJoin('TG_User', intermediateTable= 'user_group'...
  permissions = RelatedJoin('TG_Permission', joinColumn= 'group_...
Class Variable Details

group_name

Value:
UnicodeCol(length= 16, alternateID= True, alternateMethodName= 'by_gro\
up_name')

users

Value:
RelatedJoin('TG_User', intermediateTable= 'user_group', joinColumn= 'g\
roup_id', otherColumn= 'user_id')

permissions

Value:
RelatedJoin('TG_Permission', joinColumn= 'group_id', intermediateTable\
= 'group_permission', otherColumn= 'permission_id')