#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 , 2 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 2 years ago
| Resolution: | invalid → wontfix |
|---|
Changing resolution to be consistent with documentation at https://docs.djangoproject.com/en/4.2/internals/contributing/triaging-tickets/#closing-tickets
Note:
See TracTickets
for help on using tickets.
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!