def handle_tabbed_response(self, tab_group, context):
        if self.request.is_ajax():
            if tab_group.selected:
                return http.HttpResponse(tab_group.selected.render())
            else:
                return http.HttpResponse(tab_group.render())
        return self.render_to_response(context)
Sends back an AJAX-appropriate response for the tab group if
dataset/ETHPy150Open CiscoSystems/avos/horizon/tabs/views.py/TabView.handle_tabbed_response