Is it a third party application feature request?
No
Describe your feature request
in my django project i have a lot and lot of models and application and want the applications to be collapsable in sidebar. To achieve it i'm doing this:
So since i probably need to add for every app & model, but need only set collapsible=True. and if we remove "SIDEBAR" attribute it will list all application & models by default, so i came up with the idea to add application sidebar setting in app level, probably it could be like this:
myproject/myapp/apps.py:
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class MyAppConfig(AppConfig):
name = "my_app"
verbose_name = _("My App")
sidebar = {
'collapsable': true',
'icon': ...,
... # any other setting may be added here.
}
then we will need to get that config on UnfoldAdminSite or other places, have not digging deeper yet, but i can implement it , if you will agree and give green light for it.
Is it a third party application feature request? No
Describe your feature request in my django project i have a lot and lot of models and application and want the applications to be collapsable in sidebar. To achieve it i'm doing this:
So since i probably need to add for every app & model, but need only set
collapsible=True
. and if we remove "SIDEBAR" attribute it will list all application & models by default, so i came up with the idea to add application sidebar setting in app level, probably it could be like this:then we will need to get that config on UnfoldAdminSite or other places, have not digging deeper yet, but i can implement it , if you will agree and give green light for it.
thanks.
BTW great tool, just switched to it from using grappelli admin