def render(self):
template_env = {}
- # define 'unfold1_main' to the template engine - the main contents
- template_env [ 'unfold1_main' ] = "\n".join(self._content)
+ # define 'unfold_main' to the template engine - the main contents
+ template_env [ 'unfold_main' ] = "\n".join(self._content)
# more general variables expected in the template
template_env [ 'title' ] = 'Test view that combines various plugins'
# Jordan: it seems we need this to init plugins js
# Issue a "manifold is not defined" error
#self.expose_queries ()
+ # Thierry: this is deprecated anyway, and will happen as part of prelude_env
+ # "manifold not defined" would be due to a missing dependency to manifold.js or something...
template_env.update(self.prelude_env())
result=render_to_response ('view-unfold1.html',template_env,