app/soc/modules/ghop/logic/models/work_submission.py
changeset 2407 e23fce20ad3a
parent 2401 bf70c5a0ef66
child 2845 99121cc7181d
--- a/app/soc/modules/ghop/logic/models/work_submission.py	Mon Jun 08 08:42:13 2009 +0200
+++ b/app/soc/modules/ghop/logic/models/work_submission.py	Mon Jun 08 08:48:24 2009 +0200
@@ -25,18 +25,19 @@
 
 import soc.models.linkable
 
-from soc.modules.ghop.logic.models import organization as ghop_org_logic
-from soc.modules.ghop.models import work_submission as \
-    ghop_work_submission_model
+import soc.modules.ghop.logic.models.organization
+import soc.modules.ghop.models.work_submission
 
 
 class Logic(linkable.Logic):
   """Logic methods for the GHOPWorkSubmission model.
   """
 
-  def __init__(self, model=ghop_work_submission_model.GHOPWorkSubmission,
-               base_model=soc.models.linkable.Linkable, 
-               scope_logic=ghop_org_logic):
+  def __init__(
+      self,
+      model=soc.modules.ghop.models.work_submission.GHOPWorkSubmission,
+      base_model=soc.models.linkable.Linkable, 
+      scope_logic=soc.modules.ghop.logic.models.organization):
     """Defines the name, key_name and model for this entity.
     """