mirror of
https://github.com/django/django.git
synced 2025-09-01 00:08:13 +00:00
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
This commit is contained in:
parent
2b03e8e9e8
commit
42b9a23267
64 changed files with 195 additions and 195 deletions
|
@ -426,7 +426,7 @@ class TestFormField(PostgreSQLSimpleTestCase):
|
|||
field = forms.JSONField()
|
||||
with self.assertRaises(exceptions.ValidationError) as cm:
|
||||
field.clean('{some badly formed: json}')
|
||||
self.assertEqual(cm.exception.messages[0], "'{some badly formed: json}' value must be valid JSON.")
|
||||
self.assertEqual(cm.exception.messages[0], '“{some badly formed: json}” value must be valid JSON.')
|
||||
|
||||
def test_formfield(self):
|
||||
model_field = JSONField()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue