Join Nostr
2026-06-26 14:03:03 UTC
in reply to

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: