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
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
Built Distribution
File details
Details for the file django-debug-toolbar-mongo-0.1.4.tar.gz
.
File metadata
- Download URL: django-debug-toolbar-mongo-0.1.4.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 932956c3b6943d755071205cdf92910b9bed4b83b3929f108d5f722b669e4e22 |
|
MD5 | 5c3b22efc8ecf1a9e2700fe527a281a2 |
|
BLAKE2b-256 | db1516bbfab306fc89d890f5b7ad993159ad5a928976c537e00cce971894896c |
File details
Details for the file django_debug_toolbar_mongo-0.1.4-py2.7.egg
.
File metadata
- Download URL: django_debug_toolbar_mongo-0.1.4-py2.7.egg
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02a155e58b1e5037d23862873e1358ca8b3c73f030e32edfa8f0c26287ae41b4 |
|
MD5 | e9c4dad1b2099d708648e9476fc098d0 |
|
BLAKE2b-256 | 3c260947e917c4d4d16c9994ea0565247f1240c0b7a9e0e52393365500c1585c |