The following :external:doc:`system checks <topics/checks>` help verify the Django Debug Toolbar setup and configuration:
- debug_toolbar.W001:
debug_toolbar.middleware.DebugToolbarMiddleware
is missing fromMIDDLEWARE
. - debug_toolbar.W002:
debug_toolbar.middleware.DebugToolbarMiddleware
occurs multiple times inMIDDLEWARE
. - debug_toolbar.W003:
debug_toolbar.middleware.DebugToolbarMiddleware
occurs beforedjango.middleware.gzip.GZipMiddleware
inMIDDLEWARE
. - debug_toolbar.W004:
debug_toolbar
is incompatible withMIDDLEWARE_CLASSES
setting. - debug_toolbar.W005: Setting
DEBUG_TOOLBAR_PANELS
is empty. - debug_toolbar.W006: At least one
DjangoTemplates
TEMPLATES
configuration needs to havedjango.template.loaders.app_directories.Loader
included in["OPTIONS"]["loaders"]
orAPP_DIRS
set toTrue
. - debug_toolbar.W007: JavaScript files are resolving to the wrong content type. Refer to :external:ref:`Django's explanation of mimetypes on Windows <staticfiles-development-view>`.
- debug_toolbar.W008: The deprecated
OBSERVE_REQUEST_CALLBACK
setting is present inDEBUG_TOOLBAR_CONFIG
. Use theUPDATE_ON_FETCH
and/orSHOW_TOOLBAR_CALLBACK
settings instead.