Skip to content

Collapsible Navigation with auto determined items #2059

Description

@marcomartinscastanho

Did you used AI to write this feature request?

No

Is it a third party application feature request?

No

Describe your feature request

django-unfold automatically collects the apps and models in your project and list them on the navigation side bar -> Great
But they're not collapsible by default -> OK, but...

If you override

UNFOLD = {
  "SIDEBAR": {
        "navigation": ...
    }
}

in order to make them collapsible, you lose all items (unless you explicitly set them).

My request is to provide a way to turn navigation items collapsible without losing the auto-collection of apps and models.

PS: I'm new to django-unfold, moving away from django-jazzmin because it hasn't been very well maintained lately, but it does have that option. Don't know if this helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions