Menu Rendering¶
-
class
cwf.views.menu.Menu(request, section)[source]¶ Knows how to get the information required to render the navigation from a section.
Assumes a top nav with one selected item.
And a side nav that is everything under the selected top nav item
If you use a
cwf.views.base.Viewthen you will have one of these inrequest.state(via theget_statemethod)This is best used with the CWF Menu Templates.