app/soc/logic/models/host.py
changeset 2673 cecb3a669527
parent 2664 06d4f4d06f64
equal deleted inserted replaced
2672:7bc9d3b962af 2673:cecb3a669527
    38                base_model=soc.models.role.Role, scope_logic=sponsor_logic,
    38                base_model=soc.models.role.Role, scope_logic=sponsor_logic,
    39                role_name='host', disallow_last_resign=True):
    39                role_name='host', disallow_last_resign=True):
    40     """Defines the name, key_name and model for this entity.
    40     """Defines the name, key_name and model for this entity.
    41     """
    41     """
    42 
    42 
    43     super(Logic, self).__init__(role_name=role_name, model=model,
    43     super(Logic, self).__init__(model=model, base_model=base_model,
    44                                 base_model=base_model, scope_logic=scope_logic,
    44                                 scope_logic=scope_logic,
       
    45                                 role_name=role_name,
    45                                 disallow_last_resign=disallow_last_resign)
    46                                 disallow_last_resign=disallow_last_resign)
    46 
       
    47 
    47 
    48   def _onCreate(self, entity):
    48   def _onCreate(self, entity):
    49     """Marks the Sponsor for this Host as active it's status is new.
    49     """Marks the Sponsor for this Host as active it's status is new.
    50     """
    50     """
    51 
    51