Added marker interface
authorThierry Florac <thierry.florac@onf.fr>
Fri, 08 Jun 2018 15:18:21 +0200
changeset 72 9d4c93d34778
parent 71 657d556a2563
child 73 db8d961c3cbb
Added marker interface
src/pyams_zmi/zmi/site.py
--- a/src/pyams_zmi/zmi/site.py	Tue Jun 05 14:59:08 2018 +0200
+++ b/src/pyams_zmi/zmi/site.py	Fri Jun 08 15:18:21 2018 +0200
@@ -22,7 +22,7 @@
 from pyams_skin.layer import IPyAMSLayer
 from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION, MANAGE_SYSTEM_PERMISSION
 from pyams_utils.interfaces.site import ISiteRoot
-from pyams_zmi.interfaces import IZMIConfiguration
+from pyams_zmi.interfaces import IZMIConfiguration, IPropertiesEditForm
 from pyams_zmi.interfaces.menu import ISiteManagementMenu, IPropertiesMenu
 from pyams_zmi.layer import IAdminLayer
 
@@ -69,7 +69,7 @@
 
 
 @pagelet_config(name='properties.html', context=ISiteRoot, layer=IPyAMSLayer, permission=VIEW_SYSTEM_PERMISSION)
-@implementer(IWidgetForm, IInnerPage)
+@implementer(IWidgetForm, IInnerPage, IPropertiesEditForm)
 class PropertiesEditForm(AdminEditForm):
     """Properties edit form"""