fixed json field representation

This commit is contained in:
mdipierro committed 2014-09-12 20:17:49 -05:00
1 parent c2b1547802
commit 94a0b1aec5
1 file changed
+1 -1
+1 -1
View File
@@ -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: