Re:Representing Trees in PostgreSQL
by jhgg on Friday November 21, 2014 @02:54PM
(#8643057)
Likewise. I've done some heavy modification ontop of django-mptt to support limiting tree depth when querying, calculating total children, querying siblings, etc...
https://gist.github.com/jhgg/32a379e34c8a56303295