app/soc/modules/ghop/models/task.py
changeset 2407 e23fce20ad3a
parent 2399 65a83ae32703
child 2679 0ede2f3adbc1
--- a/app/soc/modules/ghop/models/task.py	Mon Jun 08 08:42:13 2009 +0200
+++ b/app/soc/modules/ghop/models/task.py	Mon Jun 08 08:48:24 2009 +0200
@@ -32,7 +32,7 @@
 import soc.models.student
 import soc.models.user
 
-from soc.modules.ghop.models import program as ghop_program_model
+import soc.modules.ghop.models.program
 
 
 class GHOPTask(soc.models.linkable.Linkable):
@@ -93,7 +93,7 @@
 
   #: Program in which this Task has been created
   program = db.ReferenceProperty(
-      reference_class=ghop_program_model.GHOPProgram,
+      reference_class=soc.modules.ghop.models.program.GHOPProgram,
       required=True, collection_name='tasks')
 
   #: Required property which holds the state, the Task is currently in.