1

我的克隆网站的部分内容缺少 intid。我一直在尝试使用 plone.app.initd 中的注册功能来注册缺少的 intid,如下所示:

# running .bin/ipzope in the plone instance

from plone.app.intid import setuphandlers
setuphandlers.register_all_content_for_intids(portal)

我得到的结果是已注册和现有 initds 的报告:

(201, 349)

如何运行该命令以使其执行预期的操作:注册缺少的 intid?

有没有其他方法可以用已经存在的内容注册 intid?

4

0 回答 0