7
Sep
Django Debug Toolbar
After the presentation yesterday evening, and Cal Anderson showing Pownce’s debug toolbar for a moment, it seemed like a great idea to create a pluggable out of it. It turned out I wasn’t the only one with this idea.
I ended up creating a few “panels” inside of an overlay toolbar, which showed things like SQL queries, profile output, and cache hits/misses. At the same time, Rob Hudson had created a pluggable framework for handling these “panels”. After somehow running into each other in the lounge at the hotel, we successfully managed to add my panels to the django-debug-toolbar project.
The project is pretty neat. It’s quite simple, and allows you to have access to some very nice debug/profiling information as long as you are listed in INTERNAL_IPS. It’s also extendable via panel system, which Rob created.
I’m not sure when an “official” release will be made, but there’s still a few things planned, both by myself, and by Rob, which will make this a killer app to use.
For now, here’s some screens…
(We haven’t implemented a profile module solution completely yet into the panel system)






View Comments Responses to "Django Debug Toolbar"
Looks fantastic. Will give it a shot and try write my own panel.
Will try it too! Very promising and useful app
Awesome
Reminds me of this similar PHP debug bar
http://www.php-debug.com
Going off IP isn’t very secure. There should be an option to require is_superuser.
FYI we are making it less ugly
Another much desired feature in the sql queries panel would be detecting and highlighting duplicate queries. (ref: http://www.djangosnippets.org/snippets/344/ )
David,
Just to let you know – excellent tool.
Simple to install, and immediately wildly useful.
Thanks heaps.
Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum! http://spoon8.net/
I am also a XX fan who really like this! I also like XX, and purchase lots of it every time,
<a href=” http://www.eeadie.com“ >eeadie
like-minded friends can have a look ,we can communicate by the way~~
Leave A Reply