Firebug ******* SQL === - http://www.djangosnippets.org/snippets/1962/ Output sql_queries in Firebug console when in debug mode... Add this code to the end of the ```` of your main template and it will print out all your SQL queries with timings in the Firebug console: :: {% if debug %} {% endif %} This uses the "``django.core.context_processors.debug``" template context processor, which requires that ``DEBUG=True`` and that your IP address is listed in ``INTERNAL_IPS``.