fixed NoSQL Json, thanks Alan
This commit is contained in:
1 parent
30ea9ac56b
commit
b15211064d
2 files changed
+2
-1
No files matched your search
@@ -1 +1 @@
|
|||||||
Version 2.4.5-stable+timestamp.2013.03.21.15.09.50
|
Version 2.4.5-stable+timestamp.2013.03.25.15.24.28
|
||||||
@@ -4364,6 +4364,7 @@ class NoSQLAdapter(BaseAdapter):
|
|||||||
elif fieldtype == 'blob':
|
elif fieldtype == 'blob':
|
||||||
pass
|
pass
|
||||||
elif fieldtype == 'json':
|
elif fieldtype == 'json':
|
||||||
|
if isinstance(obj, basestring):
|
||||||
obj = self.to_unicode(obj)
|
obj = self.to_unicode(obj)
|
||||||
if have_serializers:
|
if have_serializers:
|
||||||
obj = serializers.loads_json(obj)
|
obj = serializers.loads_json(obj)
|
||||||
|
|||||||
Reference in new issue
Block a user