Added shared site interface
authorThierry Florac <thierry.florac@onf.fr>
Mon, 20 Jun 2016 12:24:28 +0200
changeset 40 ef0e560a8699
parent 39 af92f11716b5
child 41 48aa4de90de2
Added shared site interface
src/pyams_content/shared/common/interfaces/__init__.py
--- a/src/pyams_content/shared/common/interfaces/__init__.py	Mon Jun 20 12:24:11 2016 +0200
+++ b/src/pyams_content/shared/common/interfaces/__init__.py	Mon Jun 20 12:24:28 2016 +0200
@@ -27,11 +27,17 @@
 from pyams_utils.schema import TextLineListField
 from zope.container.constraints import containers, contains
 from zope.interface import Interface, Attribute
-from zope.schema import Choice, Bool, Text, TextLine
+from zope.schema import Choice, Bool, Text
 
 from pyams_content import _
 
 
+class ISharedSite(IBaseContent):
+    """Shared site interface"""
+
+    containers(ISiteRoot)
+
+
 class ISharedToolContainer(IBaseContent, IContainer):
     """Shared tools container"""