fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
link to polski.
[wolnelektury.git]
/
wolnelektury
/
middleware.py
diff --git
a/wolnelektury/middleware.py
b/wolnelektury/middleware.py
index
c9a17dc
..
60b382c
100644
(file)
--- 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)