资 源 简 介
Zamtools-navigation is a simple Django application that can be used to display navigation locations, as well as track the current location the user is at.
Locations can be nested under one another to produce a hierarchical layout of the site map. Additionally, the location structure does not need to follow the same structure of the urls.py, allowing off-site urls to be easily integrated and tracked. Certain locations can also be hidden, allowing them to act as structure to the hierarchy without being tracked by the current location.
Benefits
Hierarchical representation with methods for navigating children, root and top_level locations
Explicit declaration of base and target urls allows for off-site locations to be integrated into the hierarchy
Track the {{ top_locations }} and {{ current_location }} locations using variables supplied by the context processors
<