mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Preferred usage of among/while to amongst/whilst.
This commit is contained in:
parent
25352dc019
commit
dbdc192ca3
13 changed files with 23 additions and 24 deletions
|
@ -161,7 +161,7 @@ class IndexNameTests(SimpleTestCase):
|
|||
|
||||
self.assertEqual(checks.run_checks(app_configs=self.apps.get_app_configs()), [
|
||||
Error(
|
||||
"index name 'foo' is not unique amongst models: "
|
||||
"index name 'foo' is not unique among models: "
|
||||
"check_framework.Model1, check_framework.Model2.",
|
||||
id='models.E030',
|
||||
),
|
||||
|
@ -181,7 +181,7 @@ class IndexNameTests(SimpleTestCase):
|
|||
|
||||
self.assertEqual(checks.run_checks(app_configs=self.apps.get_app_configs()), [
|
||||
Error(
|
||||
"index name 'foo' is not unique amongst models: "
|
||||
"index name 'foo' is not unique among models: "
|
||||
"check_framework.Model1, check_framework.Model2.",
|
||||
id='models.E030',
|
||||
),
|
||||
|
@ -220,7 +220,7 @@ class IndexNameTests(SimpleTestCase):
|
|||
|
||||
self.assertEqual(checks.run_checks(app_configs=apps.get_app_configs()), [
|
||||
Error(
|
||||
"index name 'foo' is not unique amongst models: basic.Model1, "
|
||||
"index name 'foo' is not unique among models: basic.Model1, "
|
||||
"check_framework.Model2.",
|
||||
id='models.E030',
|
||||
),
|
||||
|
@ -277,7 +277,7 @@ class ConstraintNameTests(TestCase):
|
|||
|
||||
self.assertEqual(checks.run_checks(app_configs=self.apps.get_app_configs()), [
|
||||
Error(
|
||||
"constraint name 'foo' is not unique amongst models: "
|
||||
"constraint name 'foo' is not unique among models: "
|
||||
"check_framework.Model1, check_framework.Model2.",
|
||||
id='models.E032',
|
||||
),
|
||||
|
@ -297,7 +297,7 @@ class ConstraintNameTests(TestCase):
|
|||
|
||||
self.assertEqual(checks.run_checks(app_configs=self.apps.get_app_configs()), [
|
||||
Error(
|
||||
"constraint name 'foo' is not unique amongst models: "
|
||||
"constraint name 'foo' is not unique among models: "
|
||||
"check_framework.Model1, check_framework.Model2.",
|
||||
id='models.E032',
|
||||
),
|
||||
|
@ -336,7 +336,7 @@ class ConstraintNameTests(TestCase):
|
|||
|
||||
self.assertEqual(checks.run_checks(app_configs=apps.get_app_configs()), [
|
||||
Error(
|
||||
"constraint name 'foo' is not unique amongst models: "
|
||||
"constraint name 'foo' is not unique among models: "
|
||||
"basic.Model1, check_framework.Model2.",
|
||||
id='models.E032',
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue