Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-debug-toolbar-mongo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-debug-toolbar-mongo
Commits
0e8d3670
Commit
0e8d3670
authored
Sep 10, 2012
by
Colin Howe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use query_son directly to support newer pymongo
parent
1c19d2e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
debug_toolbar_mongo/__init__.py
+1
-1
debug_toolbar_mongo/operation_tracker.py
+1
-2
No files found.
debug_toolbar_mongo/__init__.py
View file @
0e8d3670
# following PEP 386, versiontools will pick it up
__version__
=
(
0
,
1
,
5
,
"final"
,
0
)
__version__
=
(
0
,
1
,
6
,
"final"
,
0
)
debug_toolbar_mongo/operation_tracker.py
View file @
0e8d3670
import
functools
import
traceback
import
time
import
inspect
import
os
...
...
@@ -168,7 +167,7 @@ def _cursor_refresh(cursor_self):
# Normal Query
query_data
[
'skip'
]
=
privar
(
'skip'
)
query_data
[
'limit'
]
=
privar
(
'limit'
)
query_data
[
'query'
]
=
query_son
.
get
(
'$query'
)
query_data
[
'query'
]
=
query_son
.
get
(
'$query'
)
or
query_son
query_data
[
'ordering'
]
=
_get_ordering
(
query_son
)
queries
.
append
(
query_data
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment