django-menu-generator
django-menu-generator copied to clipboard
A straightforward menu generator for Django
A -> A.1 -> A.2 Selecting a menu item with a submenu (A) will always call _process_breadcrums() on all submenu items (A.1, A.2) If non of the submenu items is...
Hi, due to lack of maintenance (see #23), there is now a fork: https://edugit.org/AlekSIS/libs/django-menu-generator-ng The AlekSIS tema is open to merge the projects again in the future if maintenance should...
This implements a `related_views` attribute similar to `related_urls`. It takes a list of views instead of URL names or paths, so that views that take non-optional arguments can be matched...
I have found the same items being added to the same submenu multiple times on each page refresh. This is a fix for that.
Stop evaluating validators (which is unnecessary, may raise exceptions, etc) after the first failed validation. Resolves #13
Closes #22.
The new `related_urls` feature matches too much, i.e. in the middle of a string. Giving `/car` as related URL will not only match `/car/1`, but also `/drinks/categories/carbonated`. Using a trailing...
Sometimes it is important to decorate a menu item with a different visual element. It is a way to indicate to the user that something need to be done through...
If several apps declare a menu item with the same name, and the item has a submenu, it would be good to merge the two menus together into one. That...