app/soc/logic/models/program.py
changeset 671 2c02178037ff
parent 667 f96095df1433
child 769 a0ee643fe832
--- a/app/soc/logic/models/program.py	Sat Dec 06 11:21:01 2008 +0000
+++ b/app/soc/logic/models/program.py	Sat Dec 06 11:21:41 2008 +0000
@@ -23,6 +23,7 @@
 
 
 from soc.logic.models import base
+from soc.logic.models import sponsor as sponsor_logic
 
 import soc.models.program
 
@@ -31,11 +32,13 @@
   """Logic methods for the Program model
   """
 
-  def __init__(self, model=soc.models.program.Program, base_model=None):
+  def __init__(self, model=soc.models.program.Program, 
+               base_model=None, scope_logic=sponsor_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()