Re: Management of static assets

2020-07-06 Thread '1337 Shadow Hacker' via Django developers (Contributions to Django itself)
Web components are now standard HTML without JS frameworks, so that could be supported by Django. In which case, even StencilJS tsx components would work out of the box. Prior to rendering, a middleware could scan the response and add the registered scripts/styles for the custom HTML tags it fi

Re: Management of static assets

2020-07-05 Thread David Smith
Hi All, Thank you all for your time taken to read and respond to this topic. Based on the conversation I'll try and summarise to try and gain wider approval. - There is a valid use case for form media so it should not be deprecated - The name is wrong so we should proceed with the rename -

Re: Management of static assets

2020-06-11 Thread '1337 Shadow Hacker' via Django developers (Contributions to Django itself)
Le samedi, mai 9, 2020 10:39 PM, Aymeric Augustin 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 ha

Re: Management of static assets

2020-05-09 Thread Aymeric Augustin
Thanks David for investigating the topic thoroughly! I wasn't expecting all that when I filed a one-line ticket six years ago :-) So, here's a bunch of opinions. Before I start, I'd like to quote the intro to the Media class : > Rende

Re: Management of static assets

2020-04-22 Thread Claude Paroz
Le mercredi 22 avril 2020 17:22:02 UTC+2, Carlton Gibson a écrit : > > ... > *Not sure* how much of this we need to pull into Django itself? > compressor, say, does the whole combine and compress thing well. If we pull > that in are we going to do the same for image optimization? Or pull in > Wh

Re: Management of static assets

2020-04-22 Thread Carlton Gibson
Hi David. Wowser. Good work! (A cup of tea indeed — I should have replied to the first question better 😝) (Inter alia) You raised five questions. These were the last three: - Should there be better support for front end JS frameworks - Should we have support for webpack - We should support