mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +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
|
@ -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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue