I am building BlogApp and I am trying to run Django-Debug-Toolbar BUT it is not showing. I have seen many answers BUT nothing worked for me.
I have installed it correctly according to the Documentation
I have added in installed apps , middlewares and urls and also collecstatic. BUT still not showing when i go to Browser.
settings.py
if DEBUG:
MIDDLEWARE += [
'debug_toolbar.middleware.DebugToolbarMiddleware',
]
INSTALLED_APPS += [
'debug_toolbar',
]
INTERNAL_IPS = ['127.0.0.1', ]
# this is the main reason for not showing up the toolbar
import mimetypes
mimetypes.add_type("application/javascript", ".js", True)
DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': False,
}
urls.py
if settings.DEBUG:
import debug_toolbar
urlpatterns += [
path('__debug__/', include(debug_toolbar.urls)),
]
Any help would be Appreciated.
Thank You in Advance

STATIC_URLis not configured correctly. A second assumption is theSHOW_TOOLBAR_CALLBACKvariable inside theDEBUG_TOOLBAR_CONFIG, could you please change it toTrue?debug_toolbar/css/toolbar.css. ANDstatic path is configured correctly.</body>tag, it will not get injected.