equal
deleted
inserted
replaced
28 import soc.models.group |
28 import soc.models.group |
29 import soc.models.sponsor |
29 import soc.models.sponsor |
30 |
30 |
31 |
31 |
32 class Logic(base.Logic): |
32 class Logic(base.Logic): |
33 """Logic methods for the Sponsor model |
33 """Logic methods for the Sponsor model. |
34 """ |
34 """ |
35 |
35 |
36 def __init__(self): |
36 def __init__(self): |
37 """Defines the name, key_name and model for this entity. |
37 """Defines the name, key_name and model for this entity. |
38 """ |
38 """ |
50 """ |
50 """ |
51 |
51 |
52 return [fields['link_name']] |
52 return [fields['link_name']] |
53 |
53 |
54 def getKeyFieldNames(self): |
54 def getKeyFieldNames(self): |
55 """See base.Logic.getKeyFieldNames |
55 """See base.Logic.getKeyFieldNames. |
56 """ |
56 """ |
57 |
57 |
58 return ['link_name'] |
58 return ['link_name'] |
59 |
59 |
60 |
60 |