mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #32080 -- Fixed displaying Unicode chars in forms.JSONField and read-only JSONField values in admin.
This commit is contained in:
committed by
Mariusz Felisiak
parent
b790883065
commit
de81676b51
@@ -186,6 +186,7 @@ class UtilsTests(SimpleTestCase):
|
||||
({'a': {'b': 'c'}}, '{"a": {"b": "c"}}'),
|
||||
(['a', 'b'], '["a", "b"]'),
|
||||
('a', '"a"'),
|
||||
({'a': '你好 世界'}, '{"a": "你好 世界"}'),
|
||||
({('a', 'b'): 'c'}, "{('a', 'b'): 'c'}"), # Invalid JSON.
|
||||
]
|
||||
for value, display_value in tests:
|
||||
|
||||
Reference in New Issue
Block a user