forked from hmarr/django-debug-toolbar-mongo
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
I've noticed that when you have the mongo module for debugtoolbar activated and try to do a delete query it raises the following TypeError : TypeError: __init__() got an unexpected keyword argument 'safe'
The concerned code is in the file operation_tracker.py line 115-132.
The function is def _remove(collection_self, spec_or_id, safe=False, **kwargs) and it is the safe argument the problem. If I comment it, there is no more problem.
What is this argument for ? Is it important ?
Thanks
David
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels