mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06: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
@@ -1358,7 +1358,7 @@ class ModelFormBasicTests(TestCase):
|
||||
self.assertEqual(f.errors['name'], ['This field is required.'])
|
||||
self.assertEqual(
|
||||
f.errors['slug'],
|
||||
["Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."]
|
||||
['Enter a valid “slug” consisting of letters, numbers, underscores or hyphens.']
|
||||
)
|
||||
self.assertEqual(f.cleaned_data, {'url': 'foo'})
|
||||
msg = "The Category could not be created because the data didn't validate."
|
||||
|
||||
Reference in New Issue
Block a user