title: How can I annotate a django-mptt TreeQuerySet from aggregate values of children?
body: <p>Suppose I have the following django-mptt tree:</p>
  
  <ul>
  <li>Root node
  
  <ul>
  <li>Node 1</li>
  <li>Node 2</li>
  <li>Node 3
  
  <ul>
  <li>Node 3.1</li>
  <li>Node 3.2
  ...</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>Every node has the same fields with numerical values (e.g. area, value etc).
  Can I use a TreeQuerySet to aggregate values (Sum, Count, Avg etc.) of a node with values from its children and its own values? Or should I look into annotating instead of aggregating?
  Any help would be appreciated.</p>