25 comments

[ 1.9 ms ] story [ 64.3 ms ] thread
DDT and Django devserver[1] are the two first packages I install for every new Django project. Thanks to anyone who has contributed to this release!

[1] https://github.com/dcramer/django-devserver

Can you talk about why django-devserver is so useful for you?
The biggest thing for me is that it allows you to profile your SQL queries from AJAX calls which Django Debug Toolbar doesn't handle.
DDT is great tool. This is one of those things that should be much easier to install into a standard Django install, IMHO. It might not be a battery to include, but it should be a battery that is really, really easy to install.
If you use pip it is just a `pip install django-debug-toolbar` away so it can't get too much easier than that!
Sure, pip is easy enough, but you have to know about pip, DDT and set up a requirements.txt file if you want to share it with anyone else. There are LOTS of handy third-party Django tools, but you need to know about them. That's the part that isn't as easy as it should be. It would be nice if Django came with a few "recommended" requirements.txt files that documented the third-party tools.
On the other hand you will definitely need these tools (or similar techniques) to do state of the art Python development anyway.
Is there really anyone out there who does any Python/Django dev and doesn't use PIP? I'm not sure there's even any tutorials for absolute beginners that don't mention it at least as part of the install process?
For anyone who isn't using it already, the Template Timings Panel[0] is a plug-in for DDT and is a fantastic profiling tool.

[0] https://github.com/orf/django-debug-toolbar-template-timings

Even the normal built-in template info has been extremely helpful while attempting to diagnose some really, really slow page loads on fairly large systems (49 template loads from disk was a very nasty shock but not exactly a surprise). Same with the easy-to-use DB query overview.
Hey, that's mine! Nice to see someone likes it :)

Debug-toolbar broke a few things recently while shuffling some internal methods around, I'm literally just about to ensure everything works with 1.0.

Please tag your repository with the project versions.
hey thanks for this tool! It was really helpful when I was debugging a really slow page (turned out sorl.thumbnails was the issue)
Better yet, spend a day or two on learning how to interactively debug python.