mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
This commit is contained in:
committed by
Mariusz Felisiak
parent
2b03e8e9e8
commit
42b9a23267
@@ -29,5 +29,5 @@ class ModelFormBaseTest(TestCase):
|
||||
|
||||
def test_model_multiple_choice_field_uuid_pk(self):
|
||||
f = forms.ModelMultipleChoiceField(UUIDPK.objects.all())
|
||||
with self.assertRaisesMessage(ValidationError, "'invalid_uuid' is not a valid UUID."):
|
||||
with self.assertRaisesMessage(ValidationError, '“invalid_uuid” is not a valid UUID.'):
|
||||
f.clean(['invalid_uuid'])
|
||||
|
||||
Reference in New Issue
Block a user