Explicitly set w:1 if None in save
This commit is contained in:
		| @@ -202,7 +202,7 @@ class Document(BaseDocument): | |||||||
|             self.validate(clean=clean) |             self.validate(clean=clean) | ||||||
|  |  | ||||||
|         if not write_concern: |         if not write_concern: | ||||||
|             write_concern = {} |             write_concern = {"w": 1} | ||||||
|  |  | ||||||
|         doc = self.to_mongo() |         doc = self.to_mongo() | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user