Author: guglielmocelata Posted: February 3, 2011 Language: Python Version: Not specified Score: 1 (after 1 ratings) Download Raw This is an improvement of joshua's SQL Log Middleware. If you have more than one database connection, then all queries are logged, grouped by connection. If a connection has no queries, then it's not shown. from django.db import connections from django.template import Te