equal
deleted
inserted
replaced
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. |