Content Security Policy for Django.
Перейти к файлу
Chris Bunney fe19cdb5d9 refactor(middleware): Refactor internals of CSPMiddleware so that it's easier to extend existing logic without copy/pasting it into subclass 2024-07-15 09:21:17 -07:00
.github/workflows Update GH actions helpers to use Node 20-based versions (#214) 2024-01-30 13:23:58 +00:00
csp refactor(middleware): Refactor internals of CSPMiddleware so that it's easier to extend existing logic without copy/pasting it into subclass 2024-07-15 09:21:17 -07:00
docs refactor(middleware): Refactor internals of CSPMiddleware so that it's easier to extend existing logic without copy/pasting it into subclass 2024-07-15 09:21:17 -07:00
.coveragerc Fixes #36: Move to dictionary based settings 2024-06-06 10:05:04 -07:00
.gitignore Expand the ruff config to include import sorting and others. (#234) 2024-07-01 13:49:27 -07:00
.pre-commit-config.yaml Expand the ruff config to include import sorting and others. (#234) 2024-07-01 13:49:27 -07:00
.readthedocs.yaml Update pre-commit, add pyproject-fmt, run on all files 2024-04-25 09:29:51 -07:00
CHANGES.md Expand the ruff config to include import sorting and others. (#234) 2024-07-01 13:49:27 -07:00
CODE_OF_CONDUCT.md Reawaken development (#204) 2024-01-24 21:35:02 +00:00
LICENSE Reawaken development (#204) 2024-01-24 21:35:02 +00:00
MANIFEST.in Clean up and tag v2.0.1. 2013-06-07 15:19:38 -04:00
README.rst Update pre-commit, add pyproject-fmt, run on all files 2024-04-25 09:29:51 -07:00
pyproject.toml Expand the ruff config to include import sorting and others. (#234) 2024-07-01 13:49:27 -07:00
tox.ini Add type hints, fix mypy issues (#198) (#228) 2024-07-01 10:16:09 -07:00

README.rst

.. image:: https://badge.fury.io/py/django-csp.svg
   :target: https://pypi.python.org/pypi/django_csp

.. image:: https://github.com/mozilla/django-csp/actions/workflows/ci.yaml/badge.svg
   :target: https://github.com/mozilla/django-csp/actions/workflows/ci.yaml

==========
Django-CSP
==========

Django-CSP adds Content-Security-Policy_ headers to Django.

The code lives on GitHub_, where you can report Issues_.

The full documentation is available on ReadTheDocs_.

.. _Content-Security-Policy: http://www.w3.org/TR/CSP/
.. _GitHub: https://github.com/mozilla/django-csp
.. _Issues: https://github.com/mozilla/django-csp/issues
.. _ReadTheDocs: http://django-csp.readthedocs.org/