equal
deleted
inserted
replaced
28 |
28 |
29 import soc.models.home_settings |
29 import soc.models.home_settings |
30 |
30 |
31 |
31 |
32 class Logic(base.Logic): |
32 class Logic(base.Logic): |
33 """Logic methods for the HomeSettings model |
33 """Logic methods for the HomeSettings 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['partial_path'], fields['link_name']] |
51 return [fields['partial_path'], 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 ['partial_path', 'link_name'] |
57 return ['partial_path', 'link_name'] |
58 |
58 |
59 logic = Logic() |
59 logic = Logic() |