django-simple-menu icon indicating copy to clipboard operation
django-simple-menu copied to clipboard

Simple, yet powerful, code-based menus for Django applications

Results 15 django-simple-menu issues
Sort by recently updated
recently updated
newest added

Took me a bit, but I can create menus alright. Cannot for the life of me figure out how to dynamically allocate URLs to each of the menus/submenus. I have...

question

updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/asottile/pyupgrade: v3.15.0 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.17.0) - [github.com/adamchainz/django-upgrade: 1.15.0 → 1.20.0](https://github.com/adamchainz/django-upgrade/compare/1.15.0...1.20.0) - [github.com/tox-dev/pyproject-fmt: 1.5.3 → 2.2.1](https://github.com/tox-dev/pyproject-fmt/compare/1.5.3...2.2.1)

This PR adds the option for child menu items to not be removed from the list when `item.visible == False`. ### Usecase I am using django-simple-menu both for menu items...

Hi, I'ld like to bind a sub-menu part to the authenticated user (`children`). I use a function to build this sub menu, and use the `check` trick to show /...

Currently, using `submenu` is quite confusing. It works fine for two menu levels, but there are problems using it with more levels (see also #47). I wonder, if changing the...

enhancement
discussion

[Despite I shouldn't write this ;-)](https://github.com/jazzband/django-simple-menu/issues/78#issuecomment-1120363541), I think it may be of help in django-simple-menu. I've tried many menu systems, and all are flawed with issues that render them unusable...

enhancement

As stated in #78, MenuItem's `__init__()` adds all additionally added kwargs as instance variables. This is great for new args lico `icon` etc., as long as they are "static", meaning...

enhancement

`menu.py` importing has a catch all that hides all errors making you think the plugin is not working when your code is at fault https://github.com/borgstrom/django-simple-menu/blob/master/menu/menu.py#L75 My snippet: ``` try: __import__(menu_module,...

bug

the docs say that `{% generate_menu %}` needs to be called **within a block**. I think this is not correct, as it seems to need to be called within **the...

docs

I've select submenu of an item. But it selects top most parents and selects anothers what I've selected. Just like below. ![image](https://user-images.githubusercontent.com/15107827/147833677-0fcddb64-35a6-4810-b0d4-c4fa6105e0de.png) How to fix the issue

bug