fixed json field representation
This commit is contained in:
1 parent
c2b1547802
commit
94a0b1aec5
1 file changed
+1
-1
+1
-1
@@ -2037,7 +2037,7 @@ class BaseAdapter(ConnectionPool):
|
|||||||
else:
|
else:
|
||||||
obj = str(obj)
|
obj = str(obj)
|
||||||
elif fieldtype == 'json':
|
elif fieldtype == 'json':
|
||||||
if not self.native_json:
|
# always pass a string JSON string
|
||||||
if have_serializers:
|
if have_serializers:
|
||||||
obj = serializers.json(obj)
|
obj = serializers.json(obj)
|
||||||
elif simplejson:
|
elif simplejson:
|
||||||
|
|||||||
Reference in new issue
Block a user