File tree 1 file changed +5
-5
lines changed
graphene/contrib/django/debug/sql
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,19 @@ def recording(self, v):
33
33
34
34
35
35
def wrap_cursor (connection , panel ):
36
- if not hasattr (connection , '_djdt_cursor ' ):
37
- connection ._djdt_cursor = connection .cursor
36
+ if not hasattr (connection , '_graphene_cursor ' ):
37
+ connection ._graphene_cursor = connection .cursor
38
38
39
39
def cursor ():
40
- return state .Wrapper (connection ._djdt_cursor (), connection , panel )
40
+ return state .Wrapper (connection ._graphene_cursor (), connection , panel )
41
41
42
42
connection .cursor = cursor
43
43
return cursor
44
44
45
45
46
46
def unwrap_cursor (connection ):
47
- if hasattr (connection , '_djdt_cursor ' ):
48
- del connection ._djdt_cursor
47
+ if hasattr (connection , '_graphene_cursor ' ):
48
+ del connection ._graphene_cursor
49
49
del connection .cursor
50
50
51
51
You can’t perform that action at this time.
0 commit comments