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 Version 1
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 (last modified by )
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 (1)
comment:1 by , 16 months ago
Component: | Uncategorized → contrib.admin |
---|---|
Description: | modified (diff) |
UI/UX: | set |
Note:
See TracTickets
for help on using tickets.