app/soc/logic/models/student.py
changeset 2673 cecb3a669527
parent 2664 06d4f4d06f64
equal deleted inserted replaced
2672:7bc9d3b962af 2673:cecb3a669527
    37                base_model=soc.models.role.Role, scope_logic=program_logic,
    37                base_model=soc.models.role.Role, scope_logic=program_logic,
    38                role_name='student', disallow_last_resign=False):
    38                role_name='student', 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 
    47 
    47 logic = Logic()
    48 logic = Logic()