Navigation

  • index
  • next |
  • Django-CSP 3.5 documentation »

django-csp¶

django-csp adds Content-Security-Policy headers to Django applications.

Version:3.5
Code:https://github.com/mozilla/django-csp
License:BSD; see LICENSE file
Issues:https://github.com/mozilla/django-csp/issues

Contents:

  • Installing django-csp
  • Configuring django-csp
    • Policy Settings
    • Other Settings
  • Modifying the Policy with Decorators
    • @csp_exempt
    • @csp_update
    • @csp_replace
    • @csp
  • Using the generated CSP nonce
    • Middleware
    • Context Processor
    • Django Template Tag/Jinja Extension
  • CSP Violation Reports
    • Throttling the number of reports
  • Contributing
    • Style
    • Tests

Indices and tables¶

  • Index
  • Module Index
  • Search Page

Table of Contents

  • django-csp
    • Indices and tables

Next topic

Installing django-csp

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • Django-CSP 3.5 documentation »
© Copyright 2022 Mozilla Foundation. Created using Sphinx 1.8.4.