app/soc/models/role.py
changeset 533 ba3309b2fd30
parent 481 94834a1e6c01
child 577 e7cb5819f7e9
--- a/app/soc/models/role.py	Fri Nov 21 08:38:53 2008 +0000
+++ b/app/soc/models/role.py	Fri Nov 21 08:41:23 2008 +0000
@@ -23,18 +23,17 @@
 ]
 
 
-import polymodel
-
 from google.appengine.ext import db
 
 from django.utils.translation import ugettext_lazy
 
 from soc.models import countries
 
+import soc.models.linkable
 import soc.models.user
 
 
-class Role(polymodel.PolyModel):
+class Role(soc.models.linkable.Linkable):
   """Information common to Program participation for all Roles.
 
   Some details of a Role are considered "public" information, and nearly
@@ -273,4 +272,4 @@
   #: Optional field indicating choice of t-shirt fit; kept private.
   tshirt_style = db.StringProperty(
       verbose_name=ugettext_lazy('T-shirt Style'),
-      choices=('male', 'female'))
\ No newline at end of file
+      choices=('male', 'female'))