code: def _render_string(self, template, *context, **kwargs):
          
          # RenderEngine.render() requires that the template string be unicode.
          template = self._to_unicode_hard(template)
  
          render_func = lambda engine, stack: engine.render(template, stack)
  
          return self._render_final(render_func, *context, **kwargs)
docs: Render the given template string using the given context.