django-markdownfield icon indicating copy to clipboard operation
django-markdownfield copied to clipboard

Don't assume django-csp is being used

Open dmptrluke opened this issue 2 years ago • 0 comments

Since this project has been more widely-adopted, the assumption that django-csp is being used should be removed from widget.html.

Support for CSP_NONCE should be maintained, but the nonce attribute should not be added to the HTML if CSP_NONCE is not defined in the template.

dmptrluke avatar Apr 23 '23 23:04 dmptrluke