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