1
我願做這樣的事情:自列表的Python模型引用
class Author(db.Model):
influencedBy = db.ListProperty(db.SelfReferenceProperty())
influenced = db.ListProperty(db.SelfReferenceProperty())
我知道我可以使用self.author_set獲得反向關係,但我需要添加多個作者對象受到影響和影響。
是的但是,這是什麼問題? –