hello,
anybody knows a tutorial on using jquery file tree browser on django. i followed this tutorial http://abeautifulsite.net/2008/03/jquery-file-tree/ but i cant make it work, im confused with this code block:
$(document).ready( function() {
$('#explorer').fileTree({
root: '/windows/',
script: 'jqueryFileTree.py',
expandSpeed: 1000,
collapseSpeed: 1000,
multiFolder: True
}, function(file) {
alert(file);
});
});
question: in line ==> script: 'jqueryFileTree.py', jqueryFileTree.py on what directory will i put this file?
or maybe can i put the contents of jqueryFileTree.py in my views.py?