code: def list_pages_ajax(request, invalid_move=False):
      
      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)
      )
docs: Render pages table for ajax function.