Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#34722 closed New feature (wontfix)

Let ListFilter be a MediaDefiningClass so that they can define custom CSS and JS

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

Description

There currently no way to define custom CSS or JS in ListFilter unless by overriding its template. I propose to make MediaDefiningClass the metaclass for ListFilter to allow creation of much more complex components.

Change History (2)

comment:1 by Natalia Bidart, 16 months ago

Resolution: invalid
Status: newclosed

Hi

This report appears to be about requesting a new feature for Django. For cases like this, the recommended path forward is to first propose and discuss the idea/request with the community and gain consensus. To do that, please start a new conversation on the Django Forum, where you'll reach a wider audience and likely get richer feedback.

I'll close the ticket for now, but once that there is a community agreement for the feature request, you are welcome to come back to the ticket and point to the forum topic, so we can then re-open it. For more details, please see the documented guidelines for requesting features.

Thanks!

comment:2 by Natalia Bidart, 16 months ago

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