ddt

django-debug-toolbar-mongo

MongoDB panel for the Django Debug Toolbar

Showing:

Popularity

Downloads/wk

0

GitHub Stars

91

Maintenance

Last Commit

7yrs ago

Contributors

11

Package

Dependencies

0

License

MIT

Categories

Readme

==================================

Django Debug Toolbar MongoDB Panel

: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!

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial