项目结构如下: 解决方案如下: 启发于:django models交叉引用问题的解决方案:https://blog.csdn.net/snrtitfk/article/details/38321175#commentBox