django-mptt/django-mptt — pull request #226 by orokusaki (2012-12-09 17:25:13+00:00)
Title: Updated `cache_tree_children` to include parent caching

Hey Craig,

This addresses issue #221. A test case was added, which ensures the use of 1 query. I also added copious comments in the function, explaining each step, to make the recursive nature of the function a bit easier to digest.