Skip to main content

Django Debug Toolbar MongoDB Panel

Info:

An extension panel for Rob Hudson’s Django Debug Toolbar that adds MongoDB debugging information

Author:

Harry Marr (http://github.com/hmarr, http://twitter.com/harrymarr)

Setup

Add the following lines to your settings.py:

INSTALLED_APPS = (
    ...
    'debug_toolbar_mongo',
    ...
)

DEBUG_TOOLBAR_PANELS = (
    ...
    'debug_toolbar_mongo.panel.MongoDebugPanel',
    ...
)

An extra panel titled “MongoDB” should appear in your debug toolbar.

Note that this should work with any Django application that uses PyMongo.

Obtaining stack traces can slow down queries significantly. To turn them off add the following lines to your settings.py:

DEBUG_TOOLBAR_MONGO_STACKTRACES = False

Disclaimer: only tested in latest Chrome, may fall to pieces in other browers. If you feel like fixing it, contributions are welcome!

Metadata

Release files for django-debug-toolbar-mongo 0.1.10

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

Source distribution (sdist)

Source distribution for django-debug-toolbar-mongo 0.1.10
File Size Uploaded Provenance
django-debug-toolbar-mongo-0.1.10.tar.gz 7.6 kB Without provenance Details

Release files / django-debug-toolbar-mongo-0.1.10.tar.gz

Download URL django-debug-toolbar-mongo-0.1.10.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2c327073ba4476b8e4509d460e0e91388cc56e3152bb04e389700c91e084ce86
BLAKE2b-256 checksum
How to use checksums
128224b7baf1af274b084978c740abedd8d2c2dcc451082c5c91596574345422
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-debug-toolbar-mongo 0.1.10

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.

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