show children nodes depending on selected parent
Hi i've been looking all over and can't find the answer to this. I have only 3 months experience in using python/django so excuse my dummy quesion! Im using django mptt to display a simple nested set navigation. <ul class="root"> {% recursetree nodes %} <li> {{ node.name }} {% if not node.is_leaf_node %} <ul class="children"> {{ children }} </ul> {% endif %} </li> {% endrecursetree %} this works fine - however i would like to show only children of the selected category (based on slug) and not all of them. Any ideas ??? i finally did it like this: {% recursetree nodes %} <li> <a href='/{{ node