Switched nav caching to cache the entire set of nodes for the navigation, not just...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Thu, 23 Dec 2010 20:35:32 +0000 (15:35 -0500)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Thu, 23 Dec 2010 20:36:04 +0000 (15:36 -0500)
commitcac73c3fcf9abaaf497875fae5457793cc4cf0ee
treee6e2ccc2e4376e1817cad705a305dcb7a6ccbd36
parent0adc7822400fb7fa49bc15a13e3e74e997184e80
Switched nav caching to cache the entire set of nodes for the navigation, not just the roots. Tweaked NavigationManager.clear_cache method to accout for this. Set Navigation model save and delete methods to call the cache clearer if appropriate. Tweaked get_navigation filter to take advantage of the changes.
contrib/navigation/models.py
contrib/navigation/templatetags/navigation.py