Commit fef39e38 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Add TemplateTool as a factory based portal type. This is not very good, but very convenient.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1113 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fbcd15f4
...@@ -453,7 +453,10 @@ class ERP5Generator(PortalGenerator): ...@@ -453,7 +453,10 @@ class ERP5Generator(PortalGenerator):
# Content is disseminated through business templates # Content is disseminated through business templates
from Products.ERP5.Document.BusinessTemplate import BusinessTemplate from Products.ERP5.Document.BusinessTemplate import BusinessTemplate
from Products.ERP5Type.Document.Folder import Folder from Products.ERP5Type.Document.Folder import Folder
self.setupTypes(p, (BusinessTemplate.factory_type_information, Folder.factory_type_information)) from Products.ERP5.Tool.TemplateTool import TemplateTool
self.setupTypes(p, (BusinessTemplate.factory_type_information,
Folder.factory_type_information,
TemplateTool.factory_type_information))
self.setupMimetypes(p) self.setupMimetypes(p)
self.setupWorkflow(p) self.setupWorkflow(p)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment