We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f323ba commit a32bc8dCopy full SHA for a32bc8d
django_mongodb_extensions/debug_toolbar/panels/mql/tracking.py
@@ -76,12 +76,6 @@ def _decode(self, param):
76
def _record(self, method, sql, params):
77
alias = self.db.alias
78
vendor = self.db.vendor
79
-
80
- if vendor == "postgresql":
81
- # The underlying DB connection (as opposed to Django's wrapper)
82
- conn = self.db.connection
83
- initial_conn_status = conn.info.transaction_status
84
85
start_time = perf_counter()
86
try:
87
return method(sql, params)
0 commit comments