importsimplejsondef_getData(self,node):#return a list of dictionaries#dictionaries have the format:# {'text':visible_node_name, 'id':identifier, 'cls':'file'|'folder', 'allowChildren':False, 'leaf':True}#return the data for a given node#more here soonpass@expose()deffetchTree(self,node):r=[self._getData(node),]returnsimplejson.dumps(r)

Todo

Difficulty: Medium. This entire tutorial is code snippets. Add some text to explain what is going on