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
es), which means that third-party packages must provide their own different implementation of asset "objects". It does also mean that Django is helpless with regards to any management of static assets, typically in a case like subresource integrity. My opinion is still the same, t

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

Management of static assets

2020-04-21 Thread David Smith
n. This is a wide and deep topic and therefore I suggest at this stage we discuss the topic with an aim to agree the overall direction. The principle I suggest we discuss is: *In alignment with it's "batteries included" philosophy, should Django have an aim to improve the manag