equal
deleted
inserted
replaced
28 |
28 |
29 import soc.models.work |
29 import soc.models.work |
30 |
30 |
31 |
31 |
32 class Logic(base.Logic): |
32 class Logic(base.Logic): |
33 """Logic methods for the Work model |
33 """Logic methods for the Work 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 """ |
49 """ |
49 """ |
50 |
50 |
51 return [fields['link_name']] |
51 return [fields['link_name']] |
52 |
52 |
53 def getKeyFieldNames(self): |
53 def getKeyFieldNames(self): |
54 """See base.Logic.getKeyFieldNames |
54 """See base.Logic.getKeyFieldNames. |
55 """ |
55 """ |
56 |
56 |
57 return ['link_name'] |
57 return ['link_name'] |
58 |
58 |
59 |
59 |