首页 > 解决方案 > 在该模型属性中使用序列化程序

问题描述

我可以在该模型属性中使用序列化程序吗?我有(很可能是由于循环导入)使用 curcular 的错误。

ImportError: cannot import name 'Customer' from partially initialized module

标签: pythondjangodjango-rest-frameworkcircular-dependency

解决方案


推荐阅读