7

Sep

Filed in Code, Django, DjangoCon |

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)

8 Responses to "Django Debug Toolbar"

Subscribe to this topic with RSS or get the Trackback URL
Kamu (Sep 8th):

Looks fantastic. Will give it a shot and try write my own panel.

ilya (Sep 8th):

Will try it too! Very promising and useful app

Thierry (Sep 8th):

Awesome :)

ejunker (Sep 8th):

Reminds me of this similar PHP debug bar
http://www.php-debug.com

dssda (Sep 8th):

Going off IP isn’t very secure. There should be an option to require is_superuser.

David (Sep 9th):

FYI we are making it less ugly :)

Jeethu Rao (Sep 10th):

Another much desired feature in the sql queries panel would be detecting and highlighting duplicate queries. (ref: http://www.djangosnippets.org/snippets/344/ )

Peter (Oct 8th):

David,
Just to let you know – excellent tool.
Simple to install, and immediately wildly useful.
Thanks heaps.

Leave A Reply

 Username (*required)

 Email Address (*private)

 Website (*optional)

Note: Comments moderation may be active so there is no need to resubmit your comment.