django-debug-toolbar-mongo 0.1.4
MongoDB panel for the Django Debug Toolbar
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!
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| django-debug-toolbar-mongo-0.1.4.tar.gz (md5) | Source | 2011-12-12 | 4KB | 311 | |
| django_debug_toolbar_mongo-0.1.4-py2.7.egg (md5) | Python Egg | 2.7 | 2011-12-12 | 12KB | 184 |
- Author: Harry Marr
- Home Page: https://github.com/hmarr/django-debug-toolbar-mongo
- License: MIT
- Categories
- Package Index Owner: hmarr
- DOAP record: django-debug-toolbar-mongo-0.1.4.xml
