Removed portlet renderer attributes and methods inherited from ViewContentProvider
--- a/src/pyams_portal/portlet.py Thu Dec 27 11:55:53 2018 +0100
+++ b/src/pyams_portal/portlet.py Thu Dec 27 16:25:52 2018 +0100
@@ -184,8 +184,6 @@
weight = 0
- resources = ()
-
@property
def slot_configuration(self):
template = IPortalPage(self.context).template
@@ -201,11 +199,6 @@
def use_portlets_cache(self):
return not bool(self.request.params)
- def update(self):
- super(PortletRenderer, self).update()
- for resource in self.resources:
- resource.need()
-
def render(self):
preview_mode = self.request.annotations.get(PREVIEW_MODE, False)
if preview_mode or not self.use_portlets_cache: