I tried doing the following
class SomeModel(db.Model):
prev = db.ReferenceProperty(SomeModel)
next = db.ReferenceProperty(SomeModel)
but got the following error
NameError: name ‘TrackPointModel’ is
not defined
Is there a way of doing this?
Yes, you can use a SelfReferenceProperty