Django CSP

JSON →
library 4.0 ·python
verified May 20, 2026

django-csp provides robust Content Security Policy (CSP) support for Django applications. It helps mitigate cross-site scripting (XSS) and other code injection attacks by adding CSP headers to HTTP responses. The latest major version is 4.0, which introduced significant breaking changes to its configuration format. The project is actively maintained, typically releasing updates to support new Django and Python versions.

total hits 19
actors 6 distinct systems
last hit 12h ago ByteDance
ByteDance
6
GPTBot
2
Script
2
Search engines
1
Humans
2

top countries 🇸🇬 Singapore · 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany · 🇫🇷 France