Node tree template

Hello! I have a question regarding recursive templates. I have a piece of data that will be dynamic as far as it’s children. This days will be used as a listing tree in the ui. I tried to do it the best way I know how using included on the template itself. But ended up getting a maximum recursive error. I would prefer to render this tree using Django but looking I might have to throw some JavaScript on the page. Before I did that I wanted to ask if anyone knew a good way to do this? Thank you!

You should be able to do recursive includes with Django as long as you have a base case defined. Can you share with us what you tried?

I think i figured it out! Thank you for the reply! When I can ill come back and add code for the future