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

  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Database
  • Programming Language :: Python
  • Operating System :: OS Independent
  • License :: OSI Approved :: MIT License
  • Intended Audience :: Developers
  • Framework :: Django
  • Environment :: Web Environment
File Type Python Version Uploaded On Downloads
django-debug-toolbar-mongo-0.1.10.tar.gz Source June 24, 2013 19,066
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
Nov. 4, 2014, 1:05 p.m. django-debug-toolbar-mongo 0.1.5 Release Created
Nov. 4, 2014, 1:05 p.m. django-debug-toolbar-mongo 0.1.4 Release Created
Nov. 4, 2014, 1:05 p.m. django-debug-toolbar-mongo 0.1.2 Release Created
Nov. 4, 2014, 1:05 p.m. django-debug-toolbar-mongo 0.1.1 Release Created
Nov. 4, 2014, 1:05 p.m. django-debug-toolbar-mongo 0.1 Release Created
Nov. 4, 2014, 1:05 p.m. django-debug-toolbar-mongo 0.1.10 Release Created
Nov. 4, 2014, 1:05 p.m. django-debug-toolbar-mongo Package Created