Contents

django-csp 3.8

0

Django Content Security Policy support.

Django Content Security Policy support.

Stars: 513, Watchers: 513, Forks: 96, Open Issues: 19

The mozilla/django-csp repo was created 13 years ago and the last code push was 3 weeks ago.
The project is popular with 513 github stars!

How to Install django-csp

You can install django-csp using pip

pip install django-csp

or add it to a project with poetry

poetry add django-csp

Package Details

Author
License
BSD
Homepage
PyPi:
https://pypi.org/project/django-csp/
Documentation:
http://django-csp.readthedocs.org/
GitHub Repo:
https://github.com/mozilla/django-csp

Classifiers

  • Software Development/Libraries/Python Modules
No  django-csp  pypi packages just yet.

Errors

A list of common django-csp errors.

Code Examples

Here are some django-csp code examples and snippets.

GitHub Issues

The django-csp package has 19 open issues on GitHub

  • updating csp_replace decorator doc
  • CSP_INCLUDE_NONCE_IN not working?
  • Docs are out of date on RTD

See more issues on GitHub

Related Packages & Articles

django-cors-middleware 1.5.0

django-cors-middleware is a Django application for handling the server headers required for Cross-Origin Resource Sharing (CORS). Fork of django-cors-headers.

django-cors-headers 4.3.1

django-cors-headers is a Django application for handling the server headers required for Cross-Origin Resource Sharing (CORS).