def create_renderer(self, context, renderer_settings, diff_file,
                        *args, **kwargs):
        return get_diff_renderer(
            diff_file,
            extra_context=context,
            template_name=self.template_name,
            **renderer_settings)
Creates the renderer for the diff.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/diffviewer/views.py/DiffFragmentView.create_renderer