Skip to content

Commit 8218b39

Browse files
committed
Load value from json field as string.
1 parent 95b1c87 commit 8218b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json_editor/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def render(self, name, value, attrs=None):
2727
context = {
2828
'name': name,
2929
'schema': schema,
30-
'data': json.loads(value),
30+
'data': value,
3131
}
3232
return mark_safe(render_to_string(self.template_name, context))
3333

0 commit comments

Comments
 (0)