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!

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
django-debug-toolbar-mongo-0.1.10.tar.gz 7.6 kB 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

Release history Release notifications | RSS feed

This release

0.1.10 This release

1 release file

0.1.5

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

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