Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.

Getting an exception #24

Open
apolkosnik opened this issue Nov 4, 2016 · 1 comment
Open

Getting an exception #24

apolkosnik opened this issue Nov 4, 2016 · 1 comment

Comments

@apolkosnik
Copy link

apolkosnik commented Nov 4, 2016

Django Version: 1.8.15
Exception Type: TypeError
Exception Value:
init() got an unexpected keyword argument 'safe'
Exception Location: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pymongo/collection.py in update, line 2241
Python Executable: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Python Version: 2.7.6
Pymongo 3.x.0 (2.9.4 worked fine), tested up to 3.3.0
mongoengine 0.10.6

@apolkosnik
Copy link
Author

apolkosnik commented Nov 4, 2016

commenting out line 85 in debug_toolbar_mongo/operation_tracker.py:

safe=safe,

fixed it for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant