src/pyams_portal/template.py
changeset 73 22f4640630ba
parent 39 f0ef959855e7
child 91 bbd58ab513a7
--- a/src/pyams_portal/template.py	Wed Mar 28 15:34:15 2018 +0200
+++ b/src/pyams_portal/template.py	Wed Mar 28 16:02:00 2018 +0200
@@ -69,7 +69,7 @@
 
 
 @adapter_config(context=IPortalTemplateContainer, provides=IPortalTemplateContainerConfiguration)
-def PortalTemplateContainerConfigurationAdapter(context):
+def portal_template_container_configuration_adapter(context):
     """Portal template container configuration factory"""
     annotations = IAnnotations(context)
     config = annotations.get(TEMPLATE_CONTAINER_CONFIGURATION_KEY)
@@ -319,7 +319,7 @@
 
 
 @adapter_config(context=IPortalTemplate, provides=IPortalTemplateConfiguration)
-def PortalTemplateConfigurationFactory(context):
+def portal_template_configuration_factory(context):
     """Portal template configuration adapter"""
     annotations = IAnnotations(context)
     config = annotations.get(TEMPLATE_CONFIGURATION_KEY)
@@ -347,7 +347,7 @@
 #
 
 @adapter_config(context=IPortalTemplate, provides=IPortalPortletsConfiguration)
-def PortalTemplatePortletsConfigurationAdapter(template):
+def portal_template_portlets_configuration_adapter(template):
     """Portal template portlets configuration adapter"""
     annotations = IAnnotations(template)
     config = annotations.get(PORTLETS_CONFIGURATION_KEY)