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.5.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

django_debug_toolbar_mongo-0.1.5-py2.7.egg (13.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-debug-toolbar-mongo-0.1.5.tar.gz
Algorithm Hash digest
SHA256 693297577912fce23363394a9222557522af0eb18e1c075785739c4bb0d03ca1
MD5 48eda04cad2f83105c907d1cc2a6db0f
BLAKE2b-256 75772e8b71345a44e493f70bb868d26cf0ff7fcf87a94c2411a5ba63553e3c7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_debug_toolbar_mongo-0.1.5-py2.7.egg
Algorithm Hash digest
SHA256 a021c78a59683f9ecf553398c988bfbf8d8e7b4bc09d394f244b16cf27cf6d7a
MD5 81aab15d261825b700a3ba12569bb3bd
BLAKE2b-256 7b614a8d0fab348adc7b1fd226e866a4b9141ec49053ef069f5623cbd0487ff8

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