Django-debug-toolbar: Django Toolbar not showing at all from upgrade to 1.9.1 -> 2.0

Created on 28 Aug 2019  路  1Comment  路  Source: jazzband/django-debug-toolbar

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.

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

>All comments

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

Was this page helpful?
0 / 5 - 0 ratings