Overview

Django Debug Toolbar 4.0, released on June 1, 2023, adds Django 4.x compatibility and modernizes the interface.

Main Features

The interface has been modernized and Django 4.x support is ensured. SQL profiling panels are more performant.

python
# settings.py
INSTALLED_APPS = [
    ...
    'debug_toolbar',
]

MIDDLEWARE = [
    'debug_toolbar.middleware.DebugToolbarMiddleware',
    ...
]

Sources