def render(self):
        ordered_blocks = self.container.blocks.select_subclasses()

        tmpl = loader.select_template(self.container.get_template_names())

        rendered_blocks = []
        for block in ordered_blocks:
            renderer = block.get_renderer_class()(block, self.context)
            try:
                rendered_block = renderer.render()
            except ImproperlyConfigured:
                continue
            rendered_blocks.append((block, rendered_block))

        self.context['container'] = self.container
        self.context['rendered_blocks'] = rendered_blocks
        self.context.update(self.get_context_data())
        return tmpl.render(self.context)
Loads and optionally saves configuration files in YAML
dataset/ETHPy150Open tangentlabs/django-fancypages/fancypages/renderers.py/ContainerRenderer.render--crossover with--dataset/ETHPy150Open staffanm/layeredconfig/layeredconfig/yamlfile.py/YAMLFile.__init__