Port of Django Treemenus plugin