Issue #1772: let the user choose uploads_in_blob with mongodb

This commit is contained in:
gi0baro
2013-11-18 01:02:43 +01:00
parent f8f91c6a6a
commit 9028ec9857
+2
View File
@@ -5508,6 +5508,8 @@ class MongoDBAdapter(NoSQLAdapter):
# synchronous, except when overruled by either this default or
# function parameter
self.safe = adapter_args.get('safe',True)
# load user setting for uploads in blob storage
self.uploads_in_blob = adapter_args.get('uploads_in_blob', False)
if isinstance(m,tuple):
m = {"database" : m[1]}