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 b9695c8 commit 7df1f8aCopy full SHA for 7df1f8a
graphene/contrib/django/debug/sql/tracking.py
@@ -47,8 +47,9 @@ def cursor():
47
48
def unwrap_cursor(connection):
49
if hasattr(connection, '_graphene_cursor'):
50
+ previous_cursor = connection._graphene_cursor
51
+ connection.cursor = previous_cursor
52
del connection._graphene_cursor
- del connection.cursor
53
54
55
class ExceptionCursorWrapper(object):
0 commit comments