Render pages table for ajax function.

def list_pages_ajax(request, invalid_move=False):
    """Render pages table for ajax function."""
    language = get_language_from_request(request)
    pages = Page.objects.root()
    context = {
        'invalid_move': invalid_move,
        'language': language,
        'pages': pages,
    }
    return render_to_response("admin/basic_cms/page/change_list_table.html",
        context,
        context_instance=RequestContext(request)
    )