app/soc/logic/models/group.py
changeset 655 9635cbaa2dcd
parent 535 9045b8888772
child 674 0158b11cbf6d
equal deleted inserted replaced
654:68bafa9f719f 655:9635cbaa2dcd
    32   """
    32   """
    33 
    33 
    34   def __init__(self, model=soc.models.group.Group, base_model=None):
    34   def __init__(self, model=soc.models.group.Group, base_model=None):
    35     """Defines the name, key_name and model for this entity.
    35     """Defines the name, key_name and model for this entity.
    36     """
    36     """
    37     base.Logic.__init__(self, model, base_model=base_model)
    37 
       
    38     super(Logic, self).__init__(model, base_model=base_model)
    38 
    39 
    39   def getKeyValues(self, entity):
    40   def getKeyValues(self, entity):
    40     """Extracts the key values from entity and returns them.
    41     """Extracts the key values from entity and returns them.
    41 
    42 
    42     The default implementation for Groups assumes that the Group is site-wide
    43     The default implementation for Groups assumes that the Group is site-wide