Shifted NavigationManager caching to use node instances rather than node pks. Improve...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 12 Jan 2011 18:15:39 +0000 (13:15 -0500)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 12 Jan 2011 18:30:58 +0000 (13:30 -0500)
commit4809d9999c46311cc9fdbe81eefa8c3afd1290b9
treeff843900af91f8a2a0a0cf9bb75ac597e0fc920a
parentc7161f34d92a2df6ed37b2ed061e64a47dbfb003
Shifted NavigationManager caching to use node instances rather than node pks. Improved (i.e. added) a distinction between having a cache for a node and having a Navigation instance somewhere in the cache. Refactored Navigation.is_active for better clarity. Added cache clearing for previously-uncached, directly-hosted navigation. Adjusted recursenavigation to accept either a node or a queryset/iterable. Added targeting_navigation filter.
contrib/shipherd/models.py
contrib/shipherd/templatetags/shipherd.py