FICHA · MANJARO

python-django-csp

Django-CSP adds Content-Security-Policy headers to Django

  • Plugin
  • Dev
  • Web
  • SECURITY
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Add Content Security Policy headers to Django responses. It helps web applications restrict which scripts, styles, images, frames, and other resources a browser is allowed to load.

This is a security middleware, not a complete protection layer. CSP rules need careful testing because overly broad policies reduce protection, while overly strict policies can break legitimate site features.

Permissions

Permissions not analysed for this source yet.