Updated adapter context
authorThierry Florac <thierry.florac@onf.fr>
Mon, 12 Mar 2018 11:13:03 +0100
changeset 53 6bfe4bf25d0e
parent 52 d56be9f2ac7c
child 54 dc5945f35518
Updated adapter context
src/pyams_zmi/configuration.py
--- a/src/pyams_zmi/configuration.py	Sun Mar 11 11:23:49 2018 +0100
+++ b/src/pyams_zmi/configuration.py	Mon Mar 12 11:13:03 2018 +0100
@@ -101,7 +101,7 @@
     return configuration
 
 
-@adapter_config(name='zmi_configuration', context=(Interface, IAdminLayer, Interface), provides=ITALESExtension)
+@adapter_config(name='zmi_configuration', context=(Interface, Interface, Interface), provides=ITALESExtension)
 class ZMIConfigurationTalesExtension(ContextRequestViewAdapter):
     """extension:zmi_configuration TALES expression"""