title: show children nodes depending on selected parent
body: <p>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. </p>
  
  <pre><code>&lt;ul class="root"&gt;
  {% recursetree nodes %}
      &lt;li&gt;
          {{ node.name }}
          {% if not node.is_leaf_node %}
              &lt;ul class="children"&gt;
                  {{ children }}
              &lt;/ul&gt;
          {% endif %}
      &lt;/li&gt;
  {% endrecursetree %}
  </code></pre>
  
  <p></p>
  
  <p>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 ??? </p>
  
  <hr>
  
  <p>i finally did it like this:</p>
  
  <pre><code>{% recursetree nodes %}
      &lt;li&gt;
        &lt;a href='/{{ node.get_absolute_url}}'&gt;{{ node.name }}&lt;/a&gt;
      &lt;/li&gt;
         {% if not node.is_leaf.node %}
                  {% for c in child %}
                          {% if c in node.get_children  %}
                                  {% if forloop.first %}
                                     &lt;ul class="children"&gt;
                                           {{ children }}
                                              &lt;/ul&gt;
                                  {% endif %}
                          {% endif %}
                  {% endfor %}
          {% endif %}   
  
  
  
  {% endrecursetree %}          
  </code></pre>
  
  <p>in views </p>
  
  <pre><code>category = get_object_or_404(Category, slug=slug)
  child = category.get_children()
  if not child : 
        child = category.get_siblings() 
  </code></pre>
  
  <p>but it is a hack. has anyone got better idea? </p>