24 |
24 |
25 from soc.logic.models import linkable |
25 from soc.logic.models import linkable |
26 |
26 |
27 import soc.models.linkable |
27 import soc.models.linkable |
28 |
28 |
29 from soc.modules.ghop.logic.models import organization as ghop_org_logic |
29 import soc.modules.ghop.logic.models.organization |
30 from soc.modules.ghop.models import task as ghop_task_model |
30 import soc.modules.ghop.models.task |
31 |
31 |
32 |
32 |
33 class Logic(linkable.Logic): |
33 class Logic(linkable.Logic): |
34 """Logic methods for the GHOPTask model. |
34 """Logic methods for the GHOPTask model. |
35 """ |
35 """ |
36 |
36 |
37 def __init__(self, model=ghop_task_model.GHOPTask, |
37 def __init__(self, model=soc.modules.ghop.models.task.GHOPTask, |
38 base_model=soc.models.linkable.Linkable, |
38 base_model=soc.models.linkable.Linkable, |
39 scope_logic=ghop_org_logic): |
39 scope_logic=soc.modules.ghop.logic.models.organization): |
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__(model, base_model=base_model, |
43 super(Logic, self).__init__(model, base_model=base_model, |
44 scope_logic=scope_logic) |
44 scope_logic=scope_logic) |