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
711aa819
Commit
711aa819
authored
Feb 17, 2012
by
Harry Marr
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8 from heyman/master
Fixes small issue with the monkey patching of the insert function
parents
2e932855
969e806b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
debug_toolbar_mongo/operation_tracker.py
+2
-0
No files found.
debug_toolbar_mongo/operation_tracker.py
View file @
711aa819
...
...
@@ -44,7 +44,9 @@ def _insert(collection_self, doc_or_docs, manipulate=True,
result
=
_original_methods
[
'insert'
](
collection_self
,
doc_or_docs
,
manipulate
=
manipulate
,
safe
=
safe
,
check_keys
=
check_keys
,
**
kwargs
)
total_time
=
(
time
.
time
()
-
start_time
)
*
1000
...
...
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