app/soc/models/linkable.py
changeset 503 65e4d3ed3fc3
parent 475 8bd9db1d7a30
child 510 6cd4f44891e5
--- a/app/soc/models/linkable.py	Mon Nov 17 22:21:02 2008 +0000
+++ b/app/soc/models/linkable.py	Tue Nov 18 03:28:47 2008 +0000
@@ -23,12 +23,12 @@
 
 import re
 
+import polymodel
+
 from google.appengine.ext import db
 
 from django.utils.translation import ugettext_lazy
 
-from soc.models import base
-
 
 # start with ASCII digit or lowercase
 #   (additional ASCII digit or lowercase
@@ -45,7 +45,7 @@
 LINK_ID_REGEX = re.compile(LINK_ID_PATTERN)
 
 
-class Linkable(base.ModelWithFieldAttributes):
+class Linkable(polymodel.PolyModel):
   """A base class for Model classes that are "linkable".
   
   Many entities in Melange are identified by a "link path" that is formed