Hello everybody, Currently, the admin site provides various form fields, and formsets, that depend on JS scripts.
These are loaded by form media. Nowadays, webcomponents have made it into standard HTML, all browsers now support: - Custom Elements: https://w3c.github.io/webcomponents/spec/custom/ - Shadow DOM: https://w3c.github.io/webcomponents/spec/shadow/ - ES Modules: https://html.spec.whatwg.org/multipage/webappapis.html#integration-with-the-javascript-module-system - Template elements: https://html.spec.whatwg.org/multipage/scripting.html#the-template-element/ Proposal: upgrade the admin JS from Form.Media to webcomponents. When/If this gets done, we will have the maturity to start extracting webcomponent code from the admin site into main Django, as such, I see this proposal as the required first step before trying to deprecate form media in future releases. Needless to say, webcomponent support would be really good to have for Django 4. Thank you in advance for your feedback Have a beautiful day -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/m4h3LNOthoOnLAlJFGqMUNnaf6jOhZxK_J2egLNz9xThbMpp88bdSQS3-42Ual5rI0nUpRu2DGGtVpEHTeul7CO9vD1sCYalUPVBwbB1sik%3D%40protonmail.com.