Skip to main content

Panel for Django-debug-toolbar that checks some security headers

Project description

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",
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djt_csp-0.9.9.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

djt_csp-0.9.9-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file djt_csp-0.9.9.tar.gz.

File metadata

  • Download URL: djt_csp-0.9.9.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for djt_csp-0.9.9.tar.gz
Algorithm Hash digest
SHA256 6d24abae82549eb625d34778114c3ea2ed472599afd9213e68b7ad7469176d10
MD5 59088aad768c5b98efcf1426d883eb36
BLAKE2b-256 2fbd09abc7538b08693b971586f1d081334e54443dc396e5ee42f282d5ab9762

See more details on using hashes here.

File details

Details for the file djt_csp-0.9.9-py3-none-any.whl.

File metadata

  • Download URL: djt_csp-0.9.9-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for djt_csp-0.9.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b1981bb45797a826eafe83408403347e11c346b7f96807fcd725bd2bcae36207
MD5 2cb00889f909cf455922294faeb0f99d
BLAKE2b-256 a22b00279b6e325840f16520c8d0c74d08010c7fb540fd41fc0c824995db6ae4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page