Skip to main content

djt_csp

Add a panel to django-debug-toolbar for checking some security headers. djt_csp is a close copy of the Mozilla observatory.

Screenshot

Just install djt-csp...

python3 -m pip install djt-csp

and add "djt_csp.panel.SecurityPanel" to your settings DEBUG_TOOLBAR_PANELS.

# django-debug-toolbar
DEBUG_TOOLBAR_PANELS = [
    "debug_toolbar.panels.versions.VersionsPanel",
    "debug_toolbar.panels.timer.TimerPanel",
    "djt_csp.panel.SecurityPanel",
    "debug_toolbar.panels.settings.SettingsPanel",
    "debug_toolbar.panels.profiling.ProfilingPanel",
    "debug_toolbar.panels.headers.HeadersPanel",
    "debug_toolbar.panels.request.RequestPanel",
    "debug_toolbar.panels.sql.SQLPanel",
    "debug_toolbar.panels.templates.TemplatesPanel",
    "debug_toolbar.panels.staticfiles.StaticFilesPanel",
    "debug_toolbar.panels.cache.CachePanel",
    "debug_toolbar.panels.signals.SignalsPanel",
    "debug_toolbar.panels.redirects.RedirectsPanel",
]

Metadata

Release files for djt-csp 0.9.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djt-csp 0.9.9
File Size Uploaded Provenance Actions
djt_csp-0.9.9.tar.gz 15.3 kB Without provenance Details for djt_csp-0.9.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for djt-csp 0.9.9
File Interpreter ABI Platform Actions
djt_csp-0.9.9-py3-none-any.whl Python 3 none any Details for djt_csp-0.9.9-py3-none-any.whl

Total release size: 31.4 kB

Release files / djt_csp-0.9.9.tar.gz

Download URL djt_csp-0.9.9.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6d24abae82549eb625d34778114c3ea2ed472599afd9213e68b7ad7469176d10
BLAKE2b-256 checksum
How to use checksums
2fbd09abc7538b08693b971586f1d081334e54443dc396e5ee42f282d5ab9762
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2

Release files / djt_csp-0.9.9-py3-none-any.whl

Download URL djt_csp-0.9.9-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1981bb45797a826eafe83408403347e11c346b7f96807fcd725bd2bcae36207
BLAKE2b-256 checksum
How to use checksums
a22b00279b6e325840f16520c8d0c74d08010c7fb540fd41fc0c824995db6ae4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2

Security for djt-csp 0.9.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page