Google App Engine : PolyModel + SelfReferenceProperty
- by rvandervort
Is a PolyModel-based class able to be used as a SelfReferenceProperty ?
I have the below code :
class BaseClass(polymodel.PolyModel):
attribute1 = db.IntegerProperty()
attribute2 = db.StringProperty()
class ParentClass(BaseClass):
attribute3 = db.StringProperty()
class ChildClass(BaseClass):
parent =…