code: def render(self, *args, **kwargs):
          '''Renders as a str'''
          render_to = StringIO()
          self.output(render_to, *args, **kwargs)
          return render_to.getvalue(f render(self, *args, **kwargs):
          '''Renders as a str'''
          render_to = StringIO()
          self.output(render_to, *args, **kwargs)
          return render_to.getvalue()
docs: Renders as a str