title: Using MPTT do get_children in templates (at runtime)
body: <p>my template receives a variable called categories, and I want to list the categories that are "sons" of its father categories</p>
  
  <p>this is my code in template </p>
  
  <pre><code>{% for category,structure in categories|tree_info %}
      {% if structure.new_level %}
  &lt;li&gt;&lt;a href="/categories/{{ category.id }}/"&gt;{{ category.name }}&lt;/a&gt; &lt;/li&gt;   
      {% endif %}
  
      {% for level in structure.closed_levels %}
  &lt;li&gt;{{level.name}}
      {% endfor %}
  
      &lt;ul class="noJS"&gt;
      {% for cat in category.get_children|tree_info %}
      &lt;li&gt;&lt;a href="/categories/{{ cat.id }}/"&gt;{{  cat.name }}aa&lt;/a&gt; &lt;/li&gt; 
  
      {% endfor %}
      &lt;/ul&gt;
  {% endfor %}
  </code></pre>
  
  <p>this is the model</p>
  
  <pre><code>class Category(MPTTModel):
      name = models.CharField(max_length=50, unique=True)
      description = models.TextField(blank=True)
      parent = TreeForeignKey('self', null=True, blank=True, related_name='children')
  
      class MPTTMeta:
          order_insertion_by = ['name']
  
      def __unicode__(self):
          return self.name
  </code></pre>
  
  <p>any idea?</p>