Django Book 翻译
菜单>:
TOC
返回
原文:
To create a *recursive* relationship an object that has a many-to-one relationship with itself use ``models.ForeignKey('self')`` :
翻译:
要建立一个 *递归* 的关系——就是一个对象和自身有多对一的关系——可以这样写: ``models.ForeignKey('self')`` :
备注:
译者: