forked from MongoEngine/mongoengine
-
Couldn't load subscription status.
- Fork 20
Closed
Milestone
Description
I get the following traceback with MongoEngine 0.5.1 (or 0.5.2) installed, but don't get it with 0.5 installed, regardless of the version of pymongo (tested to pymongo<2.0 and against latest on pypi):
Traceback (most recent call last):
File "template.py", line 47, in <module>
settings.save() ; settings.attach(root)
File "/Users/amcgregor/.../model/__init__.py", line 163, in attach
self.save()
File "/Users/amcgregor/.../model/__init__.py", line 224, in save
return super(Asset, self).save(safe=safe, force_insert=force_insert, validate=validate)
File "/Users/amcgregor/Projects/sample/lib/python2.7/site-packages/mongoengine/document.py", line 177, in save
_refs=_refs)
TypeError: save() got an unexpected keyword argument 'write_options'
This appears to be a regression in the handling of reference fields.
Metadata
Metadata
Assignees
Labels
No labels