From 9028ec9857880c81d11d6696369c6575b19dc5af Mon Sep 17 00:00:00 2001 From: gi0baro Date: Mon, 18 Nov 2013 01:02:43 +0100 Subject: [PATCH] Issue #1772: let the user choose uploads_in_blob with mongodb --- gluon/dal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gluon/dal.py b/gluon/dal.py index 79462425..210b2478 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -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]}