No matter what I do, I just can't get django-debug-toolbar to appear. I tried everything that was offered in each answer to this question .
- I have
DEBUG=True in my settings - I have
django.contrib.staticfiles and debug_toolbar in INSTALLED_APPS - I have
'debug_toolbar.middleware.DebugToolbarMiddleware' high in MIDDLEWARE_CLASSES - I have
INTERNAL_IPS = () in my settings - I tried adding
print("IP Address for debug-toolbar: " + request.META['REMOTE_ADDR']) to the view and typing IP Address for debug-toolbar: 127.0.0.1 - I have a closure
</body></html> in my template - I executed
pip install django-debug-toolbar in my virtualenv without any problems. - I ran
python manage.py collectstatic and there is a debug_toolbar directory in my static files
When I launch the application, I do not see the console request for any URLs containing django_debug_toolbar, so I suspect the application is not loading.
I also do not see failed requests in the developer console.
I read the django-debug-toolbar docs and don't know.
Does anyone have any suggestions for debugging? I am running OSX and Django 1.7. Curiously, the WAS debugging panel looks just great - I think I made some settings that made it disappear, but I don't know what.
UPDATE: I even tried adding this to my settings file, which should make the toolbar appear:
def show_toolbar(request): return True SHOW_TOOLBAR_CALLBACK = show_toolbar
But that does not help.
I also tried to make a deliberate exception in my view to verify that DEBUG is turned on and all the settings are listed above. They are and still do not have a toolbar!
UPDATE 2: When I set INTERNAL_IPS=('127.0.0.1',) , I start to see debug panel requests in the console, but there is no toolbar on the page.
And the following HTML appears on my page: so there is a toolbar, but it is not visible because it set all display=none :

source share