Opened 16 months ago

Last modified 16 months ago

#34718 closed Cleanup/optimization

Allow django.contrib.admin's ListFilter to render details tag collasped by default — at Initial Version

Reported by: Christophe Henry Owned by: nobody
Component: contrib.admin Version: 4.2
Severity: Normal Keywords:
Cc: Marcelo Galigniana Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

Custom ListFilter in django admin can yield a lot of results, in which case, the page can be very long.

This could be solved by adding a details_collapsed = True attribute to the ListFilter class and render the <details> tag according to that attribute.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top