| @@ -4,6 +4,7 @@ Changelog | |||||||
|  |  | ||||||
| Changes in 0.7.10 | Changes in 0.7.10 | ||||||
| ================= | ================= | ||||||
|  | - Added kwargs to doc.save to help interop with django (#223, #270) | ||||||
| - Fixed cloning querysets in PY3 | - Fixed cloning querysets in PY3 | ||||||
| - Int fields no longer unset in save when changed to 0 (#272) | - Int fields no longer unset in save when changed to 0 (#272) | ||||||
| - Fixed ReferenceField query chaining bug fixed (#254) | - Fixed ReferenceField query chaining bug fixed (#254) | ||||||
|   | |||||||
| @@ -164,7 +164,7 @@ class Document(BaseDocument): | |||||||
|  |  | ||||||
|     def save(self, safe=True, force_insert=False, validate=True, |     def save(self, safe=True, force_insert=False, validate=True, | ||||||
|              write_options=None,  cascade=None, cascade_kwargs=None, |              write_options=None,  cascade=None, cascade_kwargs=None, | ||||||
|              _refs=None): |              _refs=None, **kwargs): | ||||||
|         """Save the :class:`~mongoengine.Document` to the database. If the |         """Save the :class:`~mongoengine.Document` to the database. If the | ||||||
|         document already exists, it will be updated, otherwise it will be |         document already exists, it will be updated, otherwise it will be | ||||||
|         created. |         created. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user