Declare "forms" and "views" tool names attributes
authorThierry Florac <thierry.florac@onf.fr>
Tue, 16 May 2017 11:05:23 +0200
changeset 77 a6c8b6a420f7
parent 76 e3c1ec4f3260
child 78 70361525c66b
Declare "forms" and "views" tool names attributes
src/pyams_content/root/__init__.py
src/pyams_content/root/interfaces/__init__.py
--- a/src/pyams_content/root/__init__.py	Tue May 16 11:01:09 2017 +0200
+++ b/src/pyams_content/root/__init__.py	Tue May 16 11:05:23 2017 +0200
@@ -112,6 +112,7 @@
     """Site root tools configuration"""
 
     tools_name = None
+
     views_tool_name = None
     forms_tool_name = None
     news_tool_name = None
--- a/src/pyams_content/root/interfaces/__init__.py	Tue May 16 11:01:09 2017 +0200
+++ b/src/pyams_content/root/interfaces/__init__.py	Tue May 16 11:05:23 2017 +0200
@@ -55,6 +55,9 @@
     """Site root tools configuration interface"""
 
     tools_name = Attribute("Tools name")
+
+    views_tool_name = Attribute("Views tool name")
+    forms_tool_name = Attribute("Forms tool name")
     news_tool_name = Attribute("News tool name")
     imagemaps_tool_name = Attribute("Image maps tool name")