'Return an instance of the first valid renderer.
(Don\'t use another documenting renderer.)'

def get_default_renderer(self, view):

    renderers = [renderer for renderer in view.renderer_classes if (not issubclass(renderer, BrowsableAPIRenderer))]
    non_template_renderers = [renderer for renderer in renderers if (not hasattr(renderer, u'get_template_names'))]
    if (not renderers):
        return None
    elif non_template_renderers:
        return non_template_renderers[0]()
    return renderers[0]()
