Exemplo n.º 1
0
    def render(self, data, accepted_media_type=None, renderer_context=None):
        table = PandasBaseRenderer.render(
            self, data, accepted_media_type, renderer_context,
        )

        return TemplateHTMLRenderer.render(
            self, {'table': table}, accepted_media_type, renderer_context,
        )
Exemplo n.º 2
0
    def render(self, data, accepted_media_type=None, renderer_context=None):
        table = ExportBaseRenderer.render(
            self, data, accepted_media_type, renderer_context,
        )

        return TemplateHTMLRenderer.render(
            self, {'table': table}, accepted_media_type, renderer_context,
        )
Exemplo n.º 3
0
    def render(self, data, accepted_media_type=None, renderer_context=None):
        table = PandasBaseRenderer.render(
            self,
            data,
            accepted_media_type,
            renderer_context,
        )

        return TemplateHTMLRenderer.render(
            self,
            {"table": table},
            accepted_media_type,
            renderer_context,
        )