System checks
The following system checks help verify the Django Debug Toolbar setup and configuration:
debug_toolbar.W001:
debug_toolbar.middleware.DebugToolbarMiddlewareis missing fromMIDDLEWARE.debug_toolbar.W002:
debug_toolbar.middleware.DebugToolbarMiddlewareoccurs multiple times inMIDDLEWARE.debug_toolbar.W003:
debug_toolbar.middleware.DebugToolbarMiddlewareoccurs beforedjango.middleware.gzip.GZipMiddlewareinMIDDLEWARE.debug_toolbar.W004:
debug_toolbaris incompatible withMIDDLEWARE_CLASSESsetting.debug_toolbar.W005: Setting
DEBUG_TOOLBAR_PANELSis empty.debug_toolbar.W006: At least one
DjangoTemplatesTEMPLATESconfiguration needs to havedjango.template.loaders.app_directories.Loaderincluded in["OPTIONS"]["loaders"]orAPP_DIRSset toTrue.debug_toolbar.W007: JavaScript files are resolving to the wrong content type. Refer to Django’s explanation of mimetypes on Windows.
debug_toolbar.W008: The deprecated
OBSERVE_REQUEST_CALLBACKsetting is present inDEBUG_TOOLBAR_CONFIG. Use theUPDATE_ON_FETCHand/orSHOW_TOOLBAR_CALLBACKsettings instead.