Django on Nostr: Configure policies with SECURE_CSP, test safely with SECURE_CSP_REPORT_ONLY, use ...
Configure policies with SECURE_CSP, test safely with SECURE_CSP_REPORT_ONLY, use nonces in templates, and customize behavior per view.
Read the full how-to in the Django docs:
https://docs.djangoproject.com/en/6.0/howto/csp/The configuration is added to your Django project settings: