【发布时间】:2015-04-17 13:57:34
【问题描述】:
我有一个 django-cms 实例,我们最近从 v2.4.3 迁移到 v3.0.12。我们现在正努力让它 100% 稳定。
我已经运行了命令
manage.py cms 检查
并得到一些错误。我可以理解所有这些,但以下内容除外:
Plugin instances
================
- Plugin instances of 72 types found in the database [OK]
- DepartmentTitlePlugin has 2 unsaved instances [ERROR]
- PicturePlugin has 5 unsaved instances [ERROR]
There are potentially serious problems with the plugins in your database.
Even if your site works, you should run the 'manage.py cms list plugins'
command and then the 'manage.py cms delete_orphaned_plugins' command.
This will alter your database; read the documentation before using it. [ERROR]
谁能澄清这个错误的含义?恐怕 delete_orphaned_plugins 会删除一些重要的插件,所以不是一个好的解决方案。我真的不知道在这里做什么。
有什么反馈吗?谢谢:-)
.sogeking
【问题讨论】:
标签: python django migration django-cms