Template.render is a fairly simple method, taking in a single
dictionary and rendering the template to a string based on that data.
If you're interested in rendering multiple dictionaries, you can
simply merge the existing contents. e.g.
template_values = {'foo': 1}
new_template_values = {'bar': 2}
template_values.update(new_template_values)
# template_values should now be {'foo': 1, 'bar': 2}
path = os.path.join(os.path.dirname(__file__), current_page)
self.response.out.write(template.render(path, template_values))
Does this address the use case you're dealing with?
Daniel