我无法在线找到这个问题的解决方案.我所拥有的只是"To manually resolve a CircularDependencyError, break out one of the ForeignKeys in the circular dependency loop into a separate migration, and move the dependency on the other app with it. If you’re unsure, see how makemigrations deals with the problem when asked to create brand new migrations from your models. In a future release of Django, squashmigrations will be updated to attempt to resolve these errors itself."来自:docs.我对django迁移有点新意,我喜欢更容易理解和易于理解的答案.
我收到此错误:
raise CircularDependencyError(", ".join("%s.%s" % n for n in …Run Code Online (Sandbox Code Playgroud)