app/soc/logic/models/document.py
changeset 678 b982d9175605
parent 655 9635cbaa2dcd
child 1019 0cd056f2c739
--- a/app/soc/logic/models/document.py	Sat Dec 06 12:13:19 2008 +0000
+++ b/app/soc/logic/models/document.py	Sat Dec 06 14:23:25 2008 +0000
@@ -23,6 +23,7 @@
 
 
 from soc.logic.models import work
+from soc.logic.models import linkable as linkable_logic
 
 import soc.models.document
 import soc.models.work
@@ -33,11 +34,12 @@
   """
 
   def __init__(self, model=soc.models.document.Document,
-               base_model=soc.models.work.Work):
+               base_model=soc.models.work.Work, scope_logic=linkable_logic):
     """Defines the name, key_name and model for this entity.
     """
 
-    super(Logic, self).__init__(model=model, base_model=base_model)
+    super(Logic, self).__init__(model=model, base_model=base_model,
+                                scope_logic=scope_logic)
 
 
 logic = Logic()