MongoDB panel for the Django Debug Toolbar
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!
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|django-debug-toolbar-mongo-0.1.10.tar.gz (7.6 kB) Copy SHA256 hash SHA256||Source||None||Jun 24, 2013|