Skip to main content

MongoDB panel for the Django Debug Toolbar

Project description

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!

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

django-debug-toolbar-mongo-0.1.4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

django_debug_toolbar_mongo-0.1.4-py2.7.egg (13.2 kB view details)

Uploaded Source

File details

Details for the file django-debug-toolbar-mongo-0.1.4.tar.gz.

File metadata

File hashes

Hashes for django-debug-toolbar-mongo-0.1.4.tar.gz
Algorithm Hash digest
SHA256 932956c3b6943d755071205cdf92910b9bed4b83b3929f108d5f722b669e4e22
MD5 5c3b22efc8ecf1a9e2700fe527a281a2
BLAKE2b-256 db1516bbfab306fc89d890f5b7ad993159ad5a928976c537e00cce971894896c

See more details on using hashes here.

File details

Details for the file django_debug_toolbar_mongo-0.1.4-py2.7.egg.

File metadata

File hashes

Hashes for django_debug_toolbar_mongo-0.1.4-py2.7.egg
Algorithm Hash digest
SHA256 02a155e58b1e5037d23862873e1358ca8b3c73f030e32edfa8f0c26287ae41b4
MD5 e9c4dad1b2099d708648e9476fc098d0
BLAKE2b-256 3c260947e917c4d4d16c9994ea0565247f1240c0b7a9e0e52393365500c1585c

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