django-debug-panel icon indicating copy to clipboard operation
django-debug-panel copied to clipboard

It's always blank

Open peterbe opened this issue 10 years ago • 5 comments

I followed the instructions (only using the django-debug-panel middleware) and installed the extension. I just get a blank screen. screenshot 2014-06-13 16 00 43

peterbe avatar Jun 13 '14 23:06 peterbe

Exactly the same here: Django 1.6

CPlusPlus17 avatar Jul 17 '14 18:07 CPlusPlus17

Activated my brain: python manage.py collectstatic

And it works. :)

CPlusPlus17 avatar Jul 17 '14 18:07 CPlusPlus17

Same for me, Django 1.6.10, django-debug-toolbar 1.3 collectstatic didn't work for me.

ianwalter avatar Mar 19 '15 15:03 ianwalter

Actually, mine shows up, I had to expand it

ianwalter avatar Mar 19 '15 15:03 ianwalter

In my case

DEBUG_TOOLBAR_CONFIG = {
    "JQUERY_URL": None
}

Caused the debug toolbar to go blank. I set it to None because we are on a closed network and JQUERY_URL defaults to a CDN. This causes the debug-panel pages to not have a jQuery reference (as unlike all the other pages, I have no "injection" point for jQuery)

This seems to be a bug somewhere. Potentially if I set JQUERY_URL to my local /static/ url...it will work.

Example:

DEBUG_TOOLBAR_CONFIG = {
    "JQUERY_URL": STATIC_URL + "libs/jquery/jquery-1.11.3.min.js"
}

That seemed to fix it for me :)

prashker avatar Jan 06 '16 14:01 prashker