app/soc/models/documentation.py
changeset 181 fdd29818a954
parent 54 03e267d67478
child 206 832335761384
--- a/app/soc/models/documentation.py	Sun Sep 21 02:16:00 2008 +0000
+++ b/app/soc/models/documentation.py	Sun Sep 21 08:50:42 2008 +0000
@@ -25,7 +25,7 @@
 
 from soc import models
 import soc.models.person
-
+import soc.models.work
 
 class Documentation(db.Model):
   """Model of Documentation, which is a Work authored by Administrators."""
@@ -48,13 +48,13 @@
   #:
   #:   work.reviews: Annotations to the Documentation made by other
   #:     Administrators.
-  work = db.ReferenceProperty(reference_class=soc.models.work.Work, required=True,
+  work = db.ReferenceProperty(reference_class=models.work.Work, required=True,
                               collection_name="proposal")
 
   #: a many:1 relationship of Documentation entities that pertain
   #: to a single Person.  The back-reference in the Person model is a
   #: Query named 'docs'.
-  person = db.ReferenceProperty(reference_class=soc.models.person.Person,
+  person = db.ReferenceProperty(reference_class=models.person.Person,
                                 collection_name="docs")
 
   #: An optional db.BlobProperty containing the documentation