'Renders this course tab\'s fragment to HTML for a standalone page.'

def render_standalone_response(self, request, fragment, course=None, tab=None, page_context=None, **kwargs):

    if (not page_context):
        page_context = self.create_page_context(request, course=course, tab=tab, **kwargs)
    page_context['fragment'] = fragment
    return render_to_response('courseware/tab-view.html', page_context)
