app/soc/logic/models/club_member.py
changeset 2673 cecb3a669527
parent 2672 7bc9d3b962af
child 2676 a7fabd1534f8
equal deleted inserted replaced
2672:7bc9d3b962af 2673:cecb3a669527
    37                base_model=soc.models.role.Role, scope_logic=club_logic,
    37                base_model=soc.models.role.Role, scope_logic=club_logic,
    38                role_name='club_member', disallow_last_resign=False):
    38                role_name='club_member', disallow_last_resign=False):
    39     """Defines the name, key_name and model for this entity.
    39     """Defines the name, key_name and model for this entity.
    40     """
    40     """
    41 
    41 
    42     super(Logic, self).__init__(role_name=role_name, model=model,
    42     super(Logic, self).__init__(model=model, base_model=base_model,
    43                                 base_model=base_model, scope_logic=scope_logic,
    43                                 scope_logic=scope_logic,
       
    44                                 role_name=role_name,
    44                                 disallow_last_resign=disallow_last_resign)
    45                                 disallow_last_resign=disallow_last_resign)
    45 
    46 
    46   def getRoleLogicsToNotifyUponeNewRequest(self):
    47   def getRoleLogicsToNotifyUponeNewRequest(self):
    47     """Returns a list with ClubAdmin logic which can be used to notify all
    48     """Returns a list with ClubAdmin logic which can be used to notify all
    48     appropriate Club Admins.
    49     appropriate Club Admins.