| Issue 2: | A template tag for working with "trees" of model instances | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Use case: I have a list of model instances retrieved using `TreeManager`. I want to display this data hierarchically in a template, let's say as a list of lists of lists. Make it easy for me. Don't force me to look at the documentation every time I need to do this after the first few times. |
Turns out that a combination a filter and {% for %} unpacking was simple enough to do this. Added a `tree_info` template filter and a `full_tree_for_model` template tag in revision 34.