The relevant settings in my settings.py are as follows
DEBUG = True
DEBUG_TOOLBAR_PATCH_SETTINGS = False
INTERNAL_IPS = ('127.0.0.1',)
MIDDLEWARE_CLASSES = (
...,
'debug_toolbar.middleware.DebugToolbarMiddleware',
...,
)
INSTALLED_APPS = (
...,
'debug_toolbar',
...,
)
I also have the urls.py file set up as per the explicit setup instructions. The toolbar does show up, but doesn't appear as it should. There are checkboxes next to each menu item and all the links have href="#".
This seems strange - I've used DjDb before but I've never seen this. If anyone can provide some insight into this problem that would be great! Thanks
UPDATE:
As pointed out by Alasdair, the checkboxes are a new feature, and the links are directed by the javascript component of django-debug-toolbar, so they properly have href="#". Opening the browser's JS console did show that the toolbar is using a deprecated property:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
But this is just a warning, so I would expect it to still work regardless.
All the links are meant to be
href="#"
. The checkboxes are a recent addition to allow you to disable panels.It sounds like the JavaScript isn't working for you. Use the developer tools of your browser to look for errors, perhaps 404s or JavaScript errors.