1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #7550: Fix rendering of UTF8-encoded data in change records

This commit is contained in:
jeremystretch
2021-10-19 15:41:19 -04:00
parent 96015aa590
commit 39430e01de
3 changed files with 7 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ def render_json(value):
"""
Render a dictionary as formatted JSON.
"""
return json.dumps(value, indent=4, sort_keys=True)
return json.dumps(value, ensure_ascii=False, indent=4, sort_keys=True)
@register.filter()