oscarmlage / django-cruds-adminlte

django-cruds is simple drop-in django app that creates CRUD for faster prototyping
BSD 3-Clause "New" or "Revised" License
425 stars 81 forks source link

Menu items #140

Open Seykotron opened 4 years ago

Seykotron commented 4 years ago

Hi guys,

While doing a very big project with this awesome framework we see that manage the menu in the _sidebar.html its not very good.

We have developed a model, a widget and a template tags wichs adds items to the menu, ordered and with perms.

If you like the feature I can do a PR.

Thank youuu!

KellerKev commented 4 years ago

Sounds AMAZING!!! Would be lovely if you could share and/or create a PR.

Seykotron commented 4 years ago

Yeah, let oscarmlage to check if he likes the feature and I ask the PR.

We have it already developed and works very good, you can also include a template in the order you want if the features of perms are not enought for you.

Let Oscar reply and I ask the PR.

Thanks ;)

solvo commented 4 years ago

I implement something that could be interesting https://github.com/luisza/django-gentelella-widgets/blob/master/djgentelella/templatetags/gentelellamenu.py This Menu management works with django models and can check perms, allow make custom menu widgets.