django-mptt/django-mptt — Issue #167: {{ children }} should be a tag
Author: craigds
Created: 2012-01-05 20:01:07+00:00
State: open

In `{% recursetree %}`, `{{ children }}` should really be a tag. For pretty straightforward reasons:

* it should be lazy-evaluated, rather than pre-rendered for every node. Then nodes excluded at rendering time won't need to be processed.

* it should accept parameters like `reversed` (use case: comment threads -- the top-level comments are newest-to-oldest and the replies are oldest-to-newest.) + potentially other parameters in the future.

`{{ children }}` should be deprecated somehow (make it an object where __unicode__() sends a DeprecationWarning?) but should continue working until at least 0.7.