Various additions and fixes on the django-debug-toolbar project.
Fix for exception-unhandled “forked” Promise chain
This was a fix for a badly patched window.fetch() that led to unhandled exceptions which could not be catched programmatically.
https://github.com/django-commons/django-debug-toolbar/pull/2101
https://github.com/django-commons/django-debug-toolbar/pull/2100
Rendering CSP nonces in script and link tags, whenever available.
This contribution aimed for rendering CSP nonces when a project uses CSP rules. With using this, the locally rendered script and link tags won’t be rejected by the browser, when using a strict-dynamic CSP rule with a nonce.
https://github.com/django-commons/django-debug-toolbar/pull/1975