Updated TALES extensions interfaces
authorThierry Florac <thierry.florac@onf.fr>
Thu, 21 Sep 2017 12:43:22 +0200
changeset 113 5a80a143d2ec
parent 112 60d746bb90c4
child 114 859dfc9be3ff
Updated TALES extensions interfaces
src/pyams_utils/url.py
--- a/src/pyams_utils/url.py	Tue Sep 19 11:29:27 2017 +0200
+++ b/src/pyams_utils/url.py	Thu Sep 21 12:43:22 2017 +0200
@@ -58,7 +58,7 @@
     return result
 
 
-@adapter_config(name='absolute_url', context=(IPersistent, Interface, Interface), provides=ITALESExtension)
+@adapter_config(name='absolute_url', context=(Interface, Interface, Interface), provides=ITALESExtension)
 class AbsoluteUrlTalesExtension(ContextRequestViewAdapter):
     """extension:absolute_url(context, view_name) TALES extension