{% load mptt_tags %} {# Assumes that 'menu' is the full_tree_for_model #} {# 'current_menu' should be the object that is the currently open menu #} {# 'node.items' should evaluate to an iterable of items that are not #} {# part of the menu tree structure, but will appear in the menu. #} {# If you want a dynamically expanding menu, then you should use CSS #} {# and the currently selected menu item will have the class "active" #} {# all root nodes will have the class 'root', and non-root nodes will #} {# have the class 'child'. Leaf nodes have the class 'leaf', and each #} {# node will also have the class 'open' or 'closed', depending upon if #} {# the active node is in it's descendants or not. #}