Le samedi, mai 9, 2020 10:39 PM, Aymeric Augustin <aymeric.augus...@polytechnique.org> a écrit :
> Perhaps Django could standardize a way to accumulate a list of CSS and JS > assets to include in a page, which could then be rendered in HTML, perhaps > after optimizations (provided by third party apps). The Cubic web framework has something like response.scripts and response.styles where you introspect and attach or remove stuff along the way. Typically, if two different apps ship their own jquery.js then things are not going to work, one jquery will override the other and plugins will not be registered anymore. So in Cubic at least your lib can check if there's a jquery js prior to adding your own. It's no silver bullet though. -- 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/dncgO1IUgyjWRJ9fMMbHWh5L9W5VfmgNgwyP9BNo2w11wdNAtZ8JZEH6bH61i-1o3kC_iPKx0ptXGMexpUQFC1u4oG13VEdA7xg0RX3Lw0U%3D%40protonmail.com.