X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..a83341ae5e43fe66a42d895a03c75f2592eb76aa:/wolnelektury/middleware.py?ds=sidebyside 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)