django-debug-toolbar-mongo 0.1.10

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!

MIT

Author

Harry Marr

Pip

django-debug-toolbar-mongo==0.1.10

Classifiers

  • Environment :: Web Environment
  • Framework :: Django
  • Intended Audience :: Developers
  • License :: OSI Approved :: MIT License
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Database
File Type Python Version Uploaded On Downloads
django-debug-toolbar-mongo-0.1.10.tar.gz Source June 24, 2013 27,229
Version Release Date
0.1.10 June 24, 2013
0.1.5 July 27, 2012
0.1.4 Dec. 12, 2011
0.1.2 Oct. 6, 2011
0.1.1 Oct. 3, 2011
0.1 Aug. 16, 2011
Date Package Version Action
Aug. 24, 2015, 11:01 p.m. django-debug-toolbar-mongo 0.1.5 Release Created
Aug. 24, 2015, 11:01 p.m. django-debug-toolbar-mongo 0.1.4 Release Created
Aug. 24, 2015, 11:01 p.m. django-debug-toolbar-mongo 0.1.2 Release Created
Aug. 24, 2015, 11:01 p.m. django-debug-toolbar-mongo 0.1.1 Release Created
Aug. 24, 2015, 11:01 p.m. django-debug-toolbar-mongo 0.1 Release Created
Aug. 24, 2015, 11:01 p.m. django-debug-toolbar-mongo 0.1.10 Release Created
Aug. 24, 2015, 11:01 p.m. django-debug-toolbar-mongo Package Created