Pass write_concern parameter from update_one
This commit is contained in:
		| @@ -469,7 +469,8 @@ class QuerySet(object): | |||||||
|  |  | ||||||
|         .. versionadded:: 0.2 |         .. versionadded:: 0.2 | ||||||
|         """ |         """ | ||||||
|         return self.update(upsert=upsert, multi=False, write_concern=None, **update) |         return self.update( | ||||||
|  |             upsert=upsert, multi=False, write_concern=write_concern, **update) | ||||||
|  |  | ||||||
|     def with_id(self, object_id): |     def with_id(self, object_id): | ||||||
|         """Retrieve the object matching the id provided.  Uses `object_id` only |         """Retrieve the object matching the id provided.  Uses `object_id` only | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user