Re: Admin webcomponents

2020-07-12 Thread '1337 Shadow Hacker' via Django developers (Contributions to Django itself)
Hi all, We got a working PoC here: [https://github.com/yourlabs/djwc](https://yourlabs.io/oss/djwc) Advantages: - no more nodejs - no more webpack - no more form.media - as such, much more reusable - no more manual asset management in templates - works with components of any framework that can

Re: collectstatic content hash

2020-07-12 Thread '1337 Shadow Hacker' via Django developers (Contributions to Django itself)
Sorry, just figured Django already has that ! https://docs.djangoproject.com/en/3.0/ref/contrib/staticfiles/#manifeststaticfilesstorage -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from

collectstatic content hash

2020-07-12 Thread '1337 Shadow Hacker' via Django developers (Contributions to Django itself)
Currently, if yourscript.js is served with {% static 'yourscript.js' %}, you open the page in your browser, then change some HTML and yourscript.js and redeploy, reload the page without refreshing browser cache manually then you will see the new HTML with the old version of yourscript.js. This

Re: Admin accessibility

2020-07-12 Thread Thibaud Colas
Update for the proof of concept CI tests from my side – thank you Tom for the feedback. Here are the latest additions to the test suite & reports, still living at https://thibaudcolas.github.io/django_admin_tests/, - Added as much as I know about in the admin, and now also outside of it a bit

Re: Defaulting to use BigAutoField in models

2020-07-12 Thread Tom Forbes
I have an initial MR for phase 1 here: https://github.com/django/django/pull/13179. It's lacking docs but I think the rest of the points are covered. It still needs docs, but a few observations/thoughts: `UUIDField` is not useful at all without a `default` being set. It's likely not safe to