app/soc/logic/models/club_member.py
changeset 2664 06d4f4d06f64
parent 1955 06ed84dbb1ed
child 2672 7bc9d3b962af
equal deleted inserted replaced
2663:d270bd8b7417 2664:06d4f4d06f64
    33   """Logic methods for the Club Member model.
    33   """Logic methods for the Club Member model.
    34   """
    34   """
    35 
    35 
    36   def __init__(self, model=soc.models.club_member.ClubMember,
    36   def __init__(self, model=soc.models.club_member.ClubMember,
    37                base_model=soc.models.role.Role, scope_logic=club_logic,
    37                base_model=soc.models.role.Role, scope_logic=club_logic,
    38                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__(model=model, base_model=base_model,
    42     super(Logic, self).__init__(role_name=role_name, model=model,
    43                                 scope_logic=scope_logic,
    43                                 base_model=base_model, scope_logic=scope_logic,
    44                                 disallow_last_resign=disallow_last_resign)
    44                                 disallow_last_resign=disallow_last_resign)
    45 
    45 
    46 
    46 
    47 logic = Logic()
    47 logic = Logic()