Skip to content

CrazyPilot/django-debug-toolbar-mongo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Debug Toolbar MongoDB Panel

Install

poetry add git+https://github.com/CrazyPilot/django-debug-toolbar-mongo.git --group dev

Setup

Add the following lines to your settings.py:

    INSTALLED_APPS = (
        ...
        'debug_toolbar_mongo',
        ...
    )

    DEBUG_TOOLBAR_PANELS = (
        ...
        'debug_toolbar_mongo.MongoPanel',
        ...
    )

    DEBUG_TOOLBAR_MONGO_EXPLAIN = True  # запускать explain для каждого запроса (замедляет работу)

An extra panel titled "MongoDB" should appear in your debug toolbar.

About

MongoDB panel for the Django Debug Toolbar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 80.9%
  • HTML 15.9%
  • JavaScript 3.2%