Using:
Django==2.2
django-debug-toolbar==2.0
I have gone through the changelog and none of the changes really affected my project except for some reason the side panel no longer displays.
settings:
INSTALLED_APPS += (
'debug_toolbar',
'django_extensions',
)
# https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#internal-ips
INTERNAL_IPS = ['127.0.0.1']
MIDDLEWARE += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
urls:
if settings.DEBUG:
import debug_toolbar
urlpatterns = [
path(r'__debug__/', include(debug_toolbar.urls)),
] + urlpatterns
I am mainly using it at its default state.
I figured out the problem. It was related to an outdated toolbar.js which my browser still cached.
https://github.com/jazzband/django-debug-toolbar/issues/1105
Most helpful comment
I figured out the problem. It was related to an outdated toolbar.js which my browser still cached.
https://github.com/jazzband/django-debug-toolbar/issues/1105