How to create collapsible list sidebar menu

I tried to use code from django project style website, but could not make the one. How can I incorporate the collapsible list style in my django project. I want to include the list same as in django rss feed with plus sign

This is not a Django issue.

If you look at what’s happening on that page, you’ll see that that’s a combination of JavaScript and CSS doing that, not Django. Django can’t control the page once it has been sent to the browser.

You can find any number of JavaScript toolkits allowing you to add those kinds of client-side features.

1 Like

Thanks for the reply