app/soc/models/contributor.py
changeset 207 8ecc2e4198cd
parent 181 fdd29818a954
child 385 6d410bf49a82
--- a/app/soc/models/contributor.py	Mon Sep 29 15:31:50 2008 +0000
+++ b/app/soc/models/contributor.py	Mon Sep 29 15:34:40 2008 +0000
@@ -21,14 +21,13 @@
   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
 ]
 
+
 from google.appengine.ext import db
 
-from soc import models
-from soc.models import base
-import soc.models.person
+import soc.models.role
 
 
-class Contributor(base.ModelWithFieldAttributes):
+class Contributor(soc.models.role.Role):
   """Contributor details for a specific Program.
 
   Some Contributor workflows have the Contributor (acting as an author)
@@ -44,10 +43,5 @@
      a specific Contributor has contributed with that Contributor.  See
      the TasksContributors model for details.
   """
-  
-  #: a 1:1 relationship associating a Contributor with generic Author
-  #: details and capabilities. The back-reference in the Author
-  #: model is a Query named 'contributor'.
-  person = db.ReferenceProperty(reference_class=models.person.Person, 
-                                required=True, 
-                                collection_name="contributor")
+  pass 
+