From dbdc192ca30b70a9f22c6bc4b3155bbccd01c323 Mon Sep 17 00:00:00 2001 From: David Smith Date: Mon, 25 May 2020 17:05:22 +0100 Subject: Preferred usage of among/while to amongst/whilst. --- django/core/checks/model_checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'django') diff --git a/django/core/checks/model_checks.py b/django/core/checks/model_checks.py index 7b156fceee..15d9b7fd86 100644 --- a/django/core/checks/model_checks.py +++ b/django/core/checks/model_checks.py @@ -64,7 +64,7 @@ def check_all_models(app_configs=None, **kwargs): Error( "index name '%s' is not unique %s %s." % ( index_name, - 'for model' if len(model_labels) == 1 else 'amongst models:', + 'for model' if len(model_labels) == 1 else 'among models:', ', '.join(sorted(model_labels)), ), id='models.E029' if len(model_labels) == 1 else 'models.E030', @@ -77,7 +77,7 @@ def check_all_models(app_configs=None, **kwargs): Error( "constraint name '%s' is not unique %s %s." % ( constraint_name, - 'for model' if len(model_labels) == 1 else 'amongst models:', + 'for model' if len(model_labels) == 1 else 'among models:', ', '.join(sorted(model_labels)), ), id='models.E031' if len(model_labels) == 1 else 'models.E032', -- cgit v1.3