X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..4f0dcd8051dc94fb0501d1664f3c4cb01d5bc8e3:/wolnelektury/middleware.py diff --git a/wolnelektury/middleware.py b/wolnelektury/middleware.py index c9a17dc3a..60b382cd3 100644 --- a/wolnelektury/middleware.py +++ b/wolnelektury/middleware.py @@ -118,7 +118,7 @@ class ProfileMiddleware(object): response.content += self.summary_for_files(stats_str) os.unlink(self.tmpfile) - + response.content += '\n%d SQL Queries:\n' % len(connection.queries) response.content += pprint.pformat(connection.queries)