Expand tree node

What is your suggestion for developing in Django a structure based on a tree node expandation?
I have developped something based on json files, but I’m not very sure this is the optimal solution.