rename render_env -> template_env
[myslice.git] / engine / composite.py
index cd653f8..ec2a678 100644 (file)
@@ -9,7 +9,7 @@ class Composite (Plugin):
     def insert (self, plugin):
         self.sons.append(plugin)
 
-    def render_env (self, request):
+    def template_env (self, request):
         # this is designed so as to support a template like
         # {% for son in sons %} {{ son.rendered }} ...
         return { 'sons': 
@@ -21,4 +21,4 @@ class Composite (Plugin):
     # xxx need a way to select an active son, like e.g.
     # Composite (active='some string')
     # and we could then try to find that string in either title or uuid or some other place
-    # in which case the corresponding 'son' entry in render_env above would son.active=True
+    # in which case the corresponding 'son' entry in template_env above would son.active=True